Tiny refactoring in fts to eliminate a warning.
[platform/upstream/glibc.git] / ChangeLog
index f0d3d57..962e730 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,176 @@
+2014-10-20  Roland McGrath  <roland@hack.frob.com>
+
+       * io/fts.c (dirent_not_directory): New function.
+       (fts_build): Call it.
+
+2014-10-20  Roland McGrath  <roland@hack.frob.com>
+
+       * nptl/version.c (__nptl_main): Use normal __write rather than
+       INTERNAL_SYSCALL.
+       (banner): Update copyright years.
+
+       * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> 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  <triegel@redhat.com>
+
+       [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  <triegel@redhat.com>
+
+       [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  <joseph@codesourcery.com>
+
+       [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  <roland@hack.frob.com>
+
+       * 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  <siddhesh@redhat.com>
+
+       * string/strcoll_l.c (get_next_seq): Fix up formatting.
+       (do_compare): Likewise.
+
+2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
+
+       [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  <roland@hack.frob.com>
+
+       * 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  <joseph@codesourcery.com>
+
+       * 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  <ppluzhnikov@google.com>
+
+       [BZ #12926]
+       * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
+       infinite loop when __recvmsg returns 0.
+
+2014-10-10  Joseph Myers  <joseph@codesourcery.com>
+
+       * 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  <konstantin.s.serebryany@gmail.com>
 
        * elf/dl-load.c