kopensolaris-gnu/glibc.git
12 years ago(add_to_global): When global scope array must grow, allocate a new one
drepper [Sat, 19 May 2007 07:07:43 +0000 (07:07 +0000)]
(add_to_global): When global scope array must grow, allocate a new one
and free old array only after all lookups finish.

12 years ago(_dl_close_worker): When removing object from global scope, wait for
drepper [Sat, 19 May 2007 07:07:29 +0000 (07:07 +0000)]
(_dl_close_worker): When removing object from global scope, wait for
all lookups to finish afterwards.

12 years ago(struct rtld_global): Add _dl_wait_lookup_done.
drepper [Sat, 19 May 2007 07:07:16 +0000 (07:07 +0000)]
(struct rtld_global): Add _dl_wait_lookup_done.

12 years ago.
drepper [Sat, 19 May 2007 07:07:06 +0000 (07:07 +0000)]
.

12 years ago(__libc_pthread_init): Initialize GL(dl_wait_lookup_done).
drepper [Sat, 19 May 2007 07:06:57 +0000 (07:06 +0000)]
(__libc_pthread_init): Initialize GL(dl_wait_lookup_done).

12 years ago(struct pthread_functions): Add ptr_wait_lookup_done.
drepper [Sat, 19 May 2007 07:06:41 +0000 (07:06 +0000)]
(struct pthread_functions): Add ptr_wait_lookup_done.

12 years ago(tcbhead_t): Add gscope_flag.
drepper [Sat, 19 May 2007 07:06:24 +0000 (07:06 +0000)]
(tcbhead_t): Add gscope_flag.
Define macros to implement reference handling of global scope.

12 years agoDeclare __wait_lookup_done.
drepper [Sat, 19 May 2007 07:06:10 +0000 (07:06 +0000)]
Declare __wait_lookup_done.

12 years ago(pthread_functions): Initialize .ptr_wait_lookup_done.
drepper [Sat, 19 May 2007 07:05:59 +0000 (07:05 +0000)]
(pthread_functions): Initialize .ptr_wait_lookup_done.

12 years ago(__wait_lookup_done): New function.
drepper [Sat, 19 May 2007 07:05:45 +0000 (07:05 +0000)]
(__wait_lookup_done): New function.

12 years ago.
drepper [Sat, 19 May 2007 04:42:52 +0000 (04:42 +0000)]
.

12 years ago(do_check_chunk): Correct check for mmaped block not overlapping with arena.
drepper [Sat, 19 May 2007 04:42:38 +0000 (04:42 +0000)]
(do_check_chunk): Correct check for mmaped block not overlapping with arena.

12 years ago(reallochook): Fix return value.
drepper [Sat, 19 May 2007 04:27:20 +0000 (04:27 +0000)]
(reallochook): Fix return value.

12 years ago.
drepper [Sat, 19 May 2007 04:26:03 +0000 (04:26 +0000)]
.

12 years ago(reallochook): If size==0, free the block.
drepper [Sat, 19 May 2007 04:25:49 +0000 (04:25 +0000)]
(reallochook): If size==0, free the block.

12 years ago.
drepper [Sat, 19 May 2007 03:30:44 +0000 (03:30 +0000)]
.

12 years agoUse fstat64 instead of fstat.
drepper [Sat, 19 May 2007 03:30:38 +0000 (03:30 +0000)]
Use fstat64 instead of fstat.

12 years ago.
drepper [Fri, 18 May 2007 19:05:37 +0000 (19:05 +0000)]
.

12 years agoFix case where __NR_sync_file_range is not defined.
drepper [Fri, 18 May 2007 19:05:23 +0000 (19:05 +0000)]
Fix case where __NR_sync_file_range is not defined.

12 years ago.
drepper [Fri, 18 May 2007 00:55:10 +0000 (00:55 +0000)]
.

12 years agoPreserve FUTEX_WAITERS bit when dead owner is detected.
drepper [Fri, 18 May 2007 00:53:33 +0000 (00:53 +0000)]
Preserve FUTEX_WAITERS bit when dead owner is detected.

12 years ago(tests): Add tst-robust9 and tst-robustpi9.
drepper [Fri, 18 May 2007 00:52:02 +0000 (00:52 +0000)]
(tests): Add tst-robust9 and tst-robustpi9.

12 years agoTest for waking multiple waiters on death of owner.
drepper [Fri, 18 May 2007 00:51:44 +0000 (00:51 +0000)]
Test for waking multiple waiters on death of owner.

12 years ago.
drepper [Thu, 17 May 2007 18:39:55 +0000 (18:39 +0000)]
.

12 years ago(__new_sem_wait): Remove unnecessary extra cancellation check.
drepper [Thu, 17 May 2007 18:39:12 +0000 (18:39 +0000)]
(__new_sem_wait): Remove unnecessary extra cancellation check.

12 years ago.
drepper [Thu, 17 May 2007 18:04:45 +0000 (18:04 +0000)]
.

12 years agoEMpty file since not needed.
drepper [Thu, 17 May 2007 18:04:04 +0000 (18:04 +0000)]
EMpty file since not needed.

12 years ago.
drepper [Thu, 17 May 2007 17:01:03 +0000 (17:01 +0000)]
.

12 years ago(VERSION): Set to 2.6.90.
drepper [Thu, 17 May 2007 16:59:50 +0000 (16:59 +0000)]
(VERSION): Set to 2.6.90.

12 years agowhitespace fedora-glibc-20070515T2025
roland [Tue, 15 May 2007 20:24:57 +0000 (20:24 +0000)]
whitespace

12 years ago. glibc-2_6-base
drepper [Tue, 15 May 2007 06:49:29 +0000 (06:49 +0000)]
.

12 years agoRemade for stable-2.6
drepper [Tue, 15 May 2007 06:49:18 +0000 (06:49 +0000)]
Remade for stable-2.6

12 years ago(VERSION): Define to 6.
drepper [Tue, 15 May 2007 06:48:47 +0000 (06:48 +0000)]
(VERSION): Define to 6.

12 years ago(__GLIBC_MINOR__): Define to 6.
drepper [Tue, 15 May 2007 06:48:32 +0000 (06:48 +0000)]
(__GLIBC_MINOR__): Define to 6.

12 years ago.
drepper [Tue, 15 May 2007 06:35:48 +0000 (06:35 +0000)]
.

12 years ago.
drepper [Tue, 15 May 2007 06:32:02 +0000 (06:32 +0000)]
.

12 years agoToo early for that. If we wake only one we also have to make sure that sem_wait...
drepper [Tue, 15 May 2007 06:31:57 +0000 (06:31 +0000)]
Too early for that.  If we wake only one we also have to make sure that sem_wait and sem_timedwait
wake another thread in case the current thread gets canceled.

12 years ago.
drepper [Tue, 15 May 2007 06:24:31 +0000 (06:24 +0000)]
.

12 years agoRemove unnecessary extra cancellation test.
drepper [Tue, 15 May 2007 06:24:23 +0000 (06:24 +0000)]
Remove unnecessary extra cancellation test.

12 years agoOnly wake threads if old value of semaphore was zero.
drepper [Tue, 15 May 2007 06:22:56 +0000 (06:22 +0000)]
Only wake threads if old value of semaphore was zero.

12 years ago.
drepper [Tue, 15 May 2007 01:51:37 +0000 (01:51 +0000)]
.

12 years agoUse all small bin slots on 64-bit archs.
drepper [Tue, 15 May 2007 01:51:17 +0000 (01:51 +0000)]
Use all small bin slots on 64-bit archs.

12 years ago.
drepper [Mon, 14 May 2007 22:53:09 +0000 (22:53 +0000)]
.

12 years ago(largebin_index): Really have 32 buckets with 64 sizes.
drepper [Mon, 14 May 2007 22:52:46 +0000 (22:52 +0000)]
(largebin_index): Really have 32 buckets with 64 sizes.

12 years ago.
drepper [Sun, 13 May 2007 20:33:06 +0000 (20:33 +0000)]
.

12 years ago[MALLOC_DEBUG]: Keep track of current maximum number of mmaps.
drepper [Sun, 13 May 2007 20:32:57 +0000 (20:32 +0000)]
[MALLOC_DEBUG]: Keep track of current maximum number of mmaps.
n_mmaps_max is the target.

12 years ago* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
aj [Sat, 12 May 2007 21:06:31 +0000 (21:06 +0000)]
* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.

12 years ago(add_to_global): One more small cleanup patch.
drepper [Fri, 11 May 2007 21:34:32 +0000 (21:34 +0000)]
(add_to_global): One more small cleanup patch.

12 years ago.
drepper [Fri, 11 May 2007 18:46:50 +0000 (18:46 +0000)]
.

12 years ago(_dl_close_worker): Help gcc to optimize by adding new variables.
drepper [Fri, 11 May 2007 18:46:34 +0000 (18:46 +0000)]
(_dl_close_worker): Help gcc to optimize by adding new variables.

12 years ago.
drepper [Fri, 11 May 2007 18:27:20 +0000 (18:27 +0000)]
.

12 years ago(add_to_global): Introduce variable ns to help gcc optimize.
drepper [Fri, 11 May 2007 18:27:02 +0000 (18:27 +0000)]
(add_to_global): Introduce variable ns to help gcc optimize.
Complerely extend global scope array before making the new entries visible.

12 years ago.
drepper [Fri, 11 May 2007 06:39:07 +0000 (06:39 +0000)]
.

12 years ago[subdir=posix] (tests): Add tst-getcpu.
drepper [Fri, 11 May 2007 06:39:01 +0000 (06:39 +0000)]
[subdir=posix] (tests): Add tst-getcpu.

12 years agoMove l_version and l_nversion members around to fill gaps.
drepper [Fri, 11 May 2007 06:38:05 +0000 (06:38 +0000)]
Move l_version and l_nversion members around to fill gaps.

12 years agoTest case for sched_getcpu.
drepper [Fri, 11 May 2007 06:37:33 +0000 (06:37 +0000)]
Test case for sched_getcpu.

12 years ago.
drepper [Fri, 11 May 2007 06:11:59 +0000 (06:11 +0000)]
.

12 years ago(struct pthread): Rearrange members to fill hole in 64-bit layout.
drepper [Fri, 11 May 2007 06:11:48 +0000 (06:11 +0000)]
(struct pthread): Rearrange members to fill hole in 64-bit layout.

12 years ago.
drepper [Fri, 11 May 2007 02:20:05 +0000 (02:20 +0000)]
.

12 years agoDon't use -fnu89-inline option.
drepper [Fri, 11 May 2007 02:19:53 +0000 (02:19 +0000)]
Don't use -fnu89-inline option.

12 years ago.
drepper [Thu, 10 May 2007 23:38:55 +0000 (23:38 +0000)]
.

12 years ago(__pthread_setaffinity_new): If syscall was successful and
drepper [Thu, 10 May 2007 23:38:25 +0000 (23:38 +0000)]
(__pthread_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.

12 years agopthread_setaffinity implementation for Linux/x86-64.
drepper [Thu, 10 May 2007 23:38:10 +0000 (23:38 +0000)]
pthread_setaffinity implementation for Linux/x86-64.

12 years ago.
drepper [Thu, 10 May 2007 23:37:44 +0000 (23:37 +0000)]
.

12 years ago(__sched_setaffinity_new): If syscall was successful and
drepper [Thu, 10 May 2007 23:37:17 +0000 (23:37 +0000)]
(__sched_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.

12 years agosched_setaffinity for Linux/x86-64.
drepper [Thu, 10 May 2007 23:36:15 +0000 (23:36 +0000)]
sched_setaffinity for Linux/x86-64.

12 years ago. fedora-glibc-20070510T2308
drepper [Thu, 10 May 2007 23:01:02 +0000 (23:01 +0000)]
.

12 years ago.
drepper [Thu, 10 May 2007 22:58:45 +0000 (22:58 +0000)]
.

12 years agoMake sure struct timespec is defined for __USE_ATFILE.
drepper [Thu, 10 May 2007 22:58:33 +0000 (22:58 +0000)]
Make sure struct timespec is defined for __USE_ATFILE.

12 years ago.
drepper [Thu, 10 May 2007 21:44:41 +0000 (21:44 +0000)]
.

12 years agoUse utimensat syscall if available.
drepper [Thu, 10 May 2007 21:42:45 +0000 (21:42 +0000)]
Use utimensat syscall if available.

12 years agoAdd utimensat, futimens to GLIBC_2.6.
drepper [Thu, 10 May 2007 21:42:29 +0000 (21:42 +0000)]
Add utimensat, futimens to GLIBC_2.6.

12 years ago(routines): Add utimensat, futimens.
drepper [Thu, 10 May 2007 21:42:19 +0000 (21:42 +0000)]
(routines): Add utimensat, futimens.

12 years agoutimensat for Linux.
drepper [Thu, 10 May 2007 21:42:04 +0000 (21:42 +0000)]
utimensat for Linux.

12 years agofutimens for Linux.
drepper [Thu, 10 May 2007 21:41:55 +0000 (21:41 +0000)]
futimens for Linux.

12 years agolutimes for Linux.
drepper [Thu, 10 May 2007 21:41:45 +0000 (21:41 +0000)]
lutimes for Linux.

12 years agoStub version of futimens.
drepper [Thu, 10 May 2007 21:41:03 +0000 (21:41 +0000)]
Stub version of futimens.

12 years agoStub version of utimensat.
drepper [Thu, 10 May 2007 21:40:53 +0000 (21:40 +0000)]
Stub version of utimensat.

12 years agoDeclare utimensat, futimens.
drepper [Thu, 10 May 2007 21:40:28 +0000 (21:40 +0000)]
Declare utimensat, futimens.

12 years agoDefine __ASSUME_UTIMENSAT.
drepper [Thu, 10 May 2007 21:40:10 +0000 (21:40 +0000)]
Define __ASSUME_UTIMENSAT.

12 years agoDefine UTIME_NOW and UTIME_OMIT.
drepper [Thu, 10 May 2007 21:39:43 +0000 (21:39 +0000)]
Define UTIME_NOW and UTIME_OMIT.

12 years agoRedefine __nonnull so that test for incorrect parameters in the libc
drepper [Thu, 10 May 2007 20:15:11 +0000 (20:15 +0000)]
Redefine __nonnull so that test for incorrect parameters in the libc
code itself are not omitted.

12 years ago [BZ #4455]
jakub [Thu, 10 May 2007 15:17:55 +0000 (15:17 +0000)]
[BZ #4455]
* tst-align2.c: Include stackinfo.h.
* tst-getpid1.c: Likewise.

12 years ago * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow fedora-glibc-20070510T0634
jakub [Thu, 10 May 2007 06:31:20 +0000 (06:31 +0000)]
* sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Don't raise overflow
exception in addition to inexact when asked to raise only FE_INEXACT.

12 years ago [BZ #3427]
jakub [Thu, 10 May 2007 06:30:15 +0000 (06:30 +0000)]
[BZ #3427]
* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions
in *envp.

12 years ago.
drepper [Tue, 8 May 2007 03:27:53 +0000 (03:27 +0000)]
.

12 years ago(strfry): Make result more random.
drepper [Tue, 8 May 2007 03:27:35 +0000 (03:27 +0000)]
(strfry): Make result more random.

12 years ago2007-05-07 Richard Henderson <rth@redhat.com>
rth [Mon, 7 May 2007 22:57:19 +0000 (22:57 +0000)]
2007-05-07  Richard Henderson  <rth@redhat.com>

        * 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 ethe assembly.

2007-05-07  Jakub Jelinek  <jakub@redhat.com>

        * 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.

12 years ago.
drepper [Mon, 7 May 2007 22:15:16 +0000 (22:15 +0000)]
.

12 years ago(do_test): Add _STACK_GROWS_UP case.
drepper [Mon, 7 May 2007 22:14:37 +0000 (22:14 +0000)]
(do_test): Add _STACK_GROWS_UP case.

12 years ago(do_test): Add _STACK_GROWS_UP case.
drepper [Mon, 7 May 2007 22:13:37 +0000 (22:13 +0000)]
(do_test): Add _STACK_GROWS_UP case.

12 years ago.
drepper [Mon, 7 May 2007 22:03:32 +0000 (22:03 +0000)]
.

12 years ago(change_stack_perm): Handle stacks growing up.
drepper [Mon, 7 May 2007 22:02:37 +0000 (22:02 +0000)]
(change_stack_perm): Handle stacks growing up.
(allocate_stack): Likewise.

12 years ago * malloc/arena.c (heap_info): Add mprotect_size field, adjust pad.
jakub [Mon, 7 May 2007 15:30:55 +0000 (15:30 +0000)]
* 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.

12 years ago.
drepper [Mon, 7 May 2007 14:26:13 +0000 (14:26 +0000)]
.

12 years ago(__lll_robust_lock_wait): Fix race caused by reloading of futex value.
drepper [Mon, 7 May 2007 14:25:01 +0000 (14:25 +0000)]
(__lll_robust_lock_wait): Fix race caused by reloading of futex value.
(__lll_robust_timedlock_wait): Likewise.

12 years ago.
drepper [Mon, 7 May 2007 13:14:03 +0000 (13:14 +0000)]
.

12 years agoFix currency_symbol, abday for Sunday, abmon for
drepper [Mon, 7 May 2007 13:13:55 +0000 (13:13 +0000)]
Fix currency_symbol, abday for Sunday, abmon for
January, February, and September to December, mon for January,
February, September, and December, am_pm, and name_*.

12 years ago.
drepper [Mon, 7 May 2007 06:22:38 +0000 (06:22 +0000)]
.

12 years ago(__feupdateenv): Change mask to merge exceptions from env. Call
drepper [Mon, 7 May 2007 06:22:29 +0000 (06:22 +0000)]
(__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.