Roland McGrath [Tue, 15 May 2007 20:24:57 +0000 (15 20:24 +0000)]
whitespace
Ulrich Drepper [Tue, 15 May 2007 06:49:29 +0000 (15 06:49 +0000)]
.
Ulrich Drepper [Tue, 15 May 2007 06:49:18 +0000 (15 06:49 +0000)]
Remade for stable-2.6
Ulrich Drepper [Tue, 15 May 2007 06:48:47 +0000 (15 06:48 +0000)]
(VERSION): Define to 6.
Ulrich Drepper [Tue, 15 May 2007 06:48:32 +0000 (15 06:48 +0000)]
(__GLIBC_MINOR__): Define to 6.
Ulrich Drepper [Tue, 15 May 2007 06:31:57 +0000 (15 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.
Ulrich Drepper [Tue, 15 May 2007 06:24:31 +0000 (15 06:24 +0000)]
.
Ulrich Drepper [Tue, 15 May 2007 06:24:23 +0000 (15 06:24 +0000)]
Remove unnecessary extra cancellation test.
Ulrich Drepper [Tue, 15 May 2007 06:22:56 +0000 (15 06:22 +0000)]
Only wake threads if old value of semaphore was zero.
Ulrich Drepper [Tue, 15 May 2007 01:51:37 +0000 (15 01:51 +0000)]
.
Ulrich Drepper [Tue, 15 May 2007 01:51:17 +0000 (15 01:51 +0000)]
Use all small bin slots on 64-bit archs.
Ulrich Drepper [Mon, 14 May 2007 22:53:09 +0000 (14 22:53 +0000)]
.
Ulrich Drepper [Mon, 14 May 2007 22:52:46 +0000 (14 22:52 +0000)]
(largebin_index): Really have 32 buckets with 64 sizes.
Ulrich Drepper [Sun, 13 May 2007 20:33:06 +0000 (13 20:33 +0000)]
.
Ulrich Drepper [Sun, 13 May 2007 20:32:57 +0000 (13 20:32 +0000)]
[MALLOC_DEBUG]: Keep track of current maximum number of mmaps.
n_mmaps_max is the target.
Andreas Jaeger [Sat, 12 May 2007 21:06:31 +0000 (12 21:06 +0000)]
* sysdeps/unix/sysv/linux/tst-getcpu.c: Include <unistd.h> for getpid.
Ulrich Drepper [Fri, 11 May 2007 21:34:32 +0000 (11 21:34 +0000)]
(add_to_global): One more small cleanup patch.
Ulrich Drepper [Fri, 11 May 2007 18:46:50 +0000 (11 18:46 +0000)]
.
Ulrich Drepper [Fri, 11 May 2007 18:46:34 +0000 (11 18:46 +0000)]
(_dl_close_worker): Help gcc to optimize by adding new variables.
Ulrich Drepper [Fri, 11 May 2007 18:27:20 +0000 (11 18:27 +0000)]
.
Ulrich Drepper [Fri, 11 May 2007 18:27:02 +0000 (11 18:27 +0000)]
(add_to_global): Introduce variable ns to help gcc optimize.
Complerely extend global scope array before making the new entries visible.
Ulrich Drepper [Fri, 11 May 2007 06:39:07 +0000 (11 06:39 +0000)]
.
Ulrich Drepper [Fri, 11 May 2007 06:39:01 +0000 (11 06:39 +0000)]
[subdir=posix] (tests): Add tst-getcpu.
Ulrich Drepper [Fri, 11 May 2007 06:38:05 +0000 (11 06:38 +0000)]
Move l_version and l_nversion members around to fill gaps.
Ulrich Drepper [Fri, 11 May 2007 06:37:33 +0000 (11 06:37 +0000)]
Test case for sched_getcpu.
Ulrich Drepper [Fri, 11 May 2007 06:11:48 +0000 (11 06:11 +0000)]
(struct pthread): Rearrange members to fill hole in 64-bit layout.
Ulrich Drepper [Fri, 11 May 2007 02:20:05 +0000 (11 02:20 +0000)]
.
Ulrich Drepper [Fri, 11 May 2007 02:19:53 +0000 (11 02:19 +0000)]
Don't use -fnu89-inline option.
Ulrich Drepper [Thu, 10 May 2007 23:38:55 +0000 (10 23:38 +0000)]
.
Ulrich Drepper [Thu, 10 May 2007 23:38:25 +0000 (10 23:38 +0000)]
(__pthread_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.
Ulrich Drepper [Thu, 10 May 2007 23:38:10 +0000 (10 23:38 +0000)]
pthread_setaffinity implementation for Linux/x86-64.
Ulrich Drepper [Thu, 10 May 2007 23:37:17 +0000 (10 23:37 +0000)]
(__sched_setaffinity_new): If syscall was successful and
RESET_VGETCPU_CACHE is defined, use it before returning.
Ulrich Drepper [Thu, 10 May 2007 23:36:15 +0000 (10 23:36 +0000)]
sched_setaffinity for Linux/x86-64.
Ulrich Drepper [Thu, 10 May 2007 22:58:45 +0000 (10 22:58 +0000)]
.
Ulrich Drepper [Thu, 10 May 2007 22:58:33 +0000 (10 22:58 +0000)]
Make sure struct timespec is defined for __USE_ATFILE.
Ulrich Drepper [Thu, 10 May 2007 21:44:41 +0000 (10 21:44 +0000)]
.
Ulrich Drepper [Thu, 10 May 2007 21:42:45 +0000 (10 21:42 +0000)]
Use utimensat syscall if available.
Ulrich Drepper [Thu, 10 May 2007 21:42:29 +0000 (10 21:42 +0000)]
Add utimensat, futimens to GLIBC_2.6.
Ulrich Drepper [Thu, 10 May 2007 21:42:19 +0000 (10 21:42 +0000)]
(routines): Add utimensat, futimens.
Ulrich Drepper [Thu, 10 May 2007 21:42:04 +0000 (10 21:42 +0000)]
utimensat for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:41:55 +0000 (10 21:41 +0000)]
futimens for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:41:45 +0000 (10 21:41 +0000)]
lutimes for Linux.
Ulrich Drepper [Thu, 10 May 2007 21:41:03 +0000 (10 21:41 +0000)]
Stub version of futimens.
Ulrich Drepper [Thu, 10 May 2007 21:40:53 +0000 (10 21:40 +0000)]
Stub version of utimensat.
Ulrich Drepper [Thu, 10 May 2007 21:40:28 +0000 (10 21:40 +0000)]
Declare utimensat, futimens.
Ulrich Drepper [Thu, 10 May 2007 21:40:10 +0000 (10 21:40 +0000)]
Define __ASSUME_UTIMENSAT.
Ulrich Drepper [Thu, 10 May 2007 21:39:43 +0000 (10 21:39 +0000)]
Define UTIME_NOW and UTIME_OMIT.
Ulrich Drepper [Thu, 10 May 2007 20:15:11 +0000 (10 20:15 +0000)]
Redefine __nonnull so that test for incorrect parameters in the libc
code itself are not omitted.
Jakub Jelinek [Thu, 10 May 2007 15:17:55 +0000 (10 15:17 +0000)]
[BZ #4455]
* tst-align2.c: Include stackinfo.h.
* tst-getpid1.c: Likewise.
Jakub Jelinek [Thu, 10 May 2007 06:31:20 +0000 (10 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.
Jakub Jelinek [Thu, 10 May 2007 06:30:17 +0000 (10 06:30 +0000)]
[BZ #3427]
* sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Don't clear exceptions
in *envp.
Ulrich Drepper [Tue, 8 May 2007 03:27:53 +0000 (8 03:27 +0000)]
.
Ulrich Drepper [Tue, 8 May 2007 03:27:35 +0000 (8 03:27 +0000)]
(strfry): Make result more random.
Richard Henderson [Mon, 7 May 2007 22:57:20 +0000 (7 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.
Ulrich Drepper [Mon, 7 May 2007 22:15:16 +0000 (7 22:15 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 22:14:37 +0000 (7 22:14 +0000)]
(do_test): Add _STACK_GROWS_UP case.
Ulrich Drepper [Mon, 7 May 2007 22:03:32 +0000 (7 22:03 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 22:02:37 +0000 (7 22:02 +0000)]
(change_stack_perm): Handle stacks growing up.
(allocate_stack): Likewise.
Jakub Jelinek [Mon, 7 May 2007 15:30:57 +0000 (7 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.
Ulrich Drepper [Mon, 7 May 2007 14:26:13 +0000 (7 14:26 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 14:25:01 +0000 (7 14:25 +0000)]
(__lll_robust_lock_wait): Fix race caused by reloading of futex value.
(__lll_robust_timedlock_wait): Likewise.
Ulrich Drepper [Mon, 7 May 2007 13:14:03 +0000 (7 13:14 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 13:13:55 +0000 (7 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_*.
Ulrich Drepper [Mon, 7 May 2007 06:22:38 +0000 (7 06:22 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 06:22:29 +0000 (7 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.
Ulrich Drepper [Mon, 7 May 2007 06:22:06 +0000 (7 06:22 +0000)]
(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.
Ulrich Drepper [Mon, 7 May 2007 06:21:41 +0000 (7 06:21 +0000)]
(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.
Ulrich Drepper [Mon, 7 May 2007 06:21:26 +0000 (7 06:21 +0000)]
(fedisableexcept): Call __fe_mask_env() if all FP exceptions disabled.
Ulrich Drepper [Mon, 7 May 2007 06:21:08 +0000 (7 06:21 +0000)]
Correct comment.
Ulrich Drepper [Mon, 7 May 2007 06:20:54 +0000 (7 06:20 +0000)]
Generic procedure definition for FE_MASK_ENV.
Ulrich Drepper [Mon, 7 May 2007 06:20:27 +0000 (7 06:20 +0000)]
Add fe_mask to libm-support.
Ulrich Drepper [Mon, 7 May 2007 06:20:15 +0000 (7 06:20 +0000)]
Declare __fe_mask_env extern.
Define FE_NOMASK_ENV as FE_EANBLED_ENV. Define FE_MASK_ENV.
Ulrich Drepper [Mon, 7 May 2007 06:19:53 +0000 (7 06:19 +0000)]
Procedure definition for FE_MASK_ENV for Linux/ppc.
Ulrich Drepper [Mon, 7 May 2007 06:19:33 +0000 (7 06:19 +0000)]
Procedure definition for FE_NOMASK_ENV for Linux/ppc.
Ulrich Drepper [Mon, 7 May 2007 06:18:17 +0000 (7 06:18 +0000)]
Moved into fpu subdir.
Ulrich Drepper [Mon, 7 May 2007 04:24:57 +0000 (7 04:24 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 04:23:14 +0000 (7 04:23 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 04:22:20 +0000 (7 04:22 +0000)]
Add entry for fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:22:03 +0000 (7 04:22 +0000)]
Add test for fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:21:34 +0000 (7 04:21 +0000)]
Remove __THROW from fdatasync.
Ulrich Drepper [Mon, 7 May 2007 04:01:23 +0000 (7 04:01 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 03:58:18 +0000 (7 03:58 +0000)]
Mark fdatasync as cancellation point.
Ulrich Drepper [Mon, 7 May 2007 03:44:48 +0000 (7 03:44 +0000)]
.
Ulrich Drepper [Mon, 7 May 2007 03:43:55 +0000 (7 03:43 +0000)]
(process_string_arg): Optimize ridiculous precision in wide char code
printing multi-byte string.
Ulrich Drepper [Sun, 6 May 2007 21:01:32 +0000 (6 21:01 +0000)]
.
Ulrich Drepper [Sun, 6 May 2007 21:00:04 +0000 (6 21:00 +0000)]
(_dl_addr): Compare address with actual segment boundaries to work
around systems with overlapping binary loading.
Ulrich Drepper [Sat, 5 May 2007 04:41:44 +0000 (5 04:41 +0000)]
.
Ulrich Drepper [Sat, 5 May 2007 04:41:35 +0000 (5 04:41 +0000)]
(process_string_arg): Adjust call to __mbsnrtowcs after last change.
Ulrich Drepper [Sat, 5 May 2007 04:36:02 +0000 (5 04:36 +0000)]
.
Ulrich Drepper [Sat, 5 May 2007 04:15:31 +0000 (5 04:15 +0000)]
.
Ulrich Drepper [Sat, 5 May 2007 04:14:59 +0000 (5 04:14 +0000)]
(get_symname): Fix adding final NUL.
(get_ident): Likewise.
Ulrich Drepper [Fri, 4 May 2007 20:53:10 +0000 (4 20:53 +0000)]
.
Ulrich Drepper [Fri, 4 May 2007 20:52:45 +0000 (4 20:52 +0000)]
(SUPPORTED-LOCALES): Add ast_ES.UTF-8 and ast_ES.
Ulrich Drepper [Fri, 4 May 2007 20:52:28 +0000 (4 20:52 +0000)]
Asturian language locale for Spain.
Jakub Jelinek [Thu, 3 May 2007 16:36:49 +0000 (3 16:36 +0000)]
* 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.
* 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.
* op-2.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_2.
* op-4.h (_FP_FRAC_COPY_2_2): Define as alias to _FP_FRAC_COPY_4.
* 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.
Jakub Jelinek [Thu, 3 May 2007 12:15:04 +0000 (3 12:15 +0000)]
* math/test-misc.c (main): Add tests for rounding long double
values close to smallest double denormalized value to double.
* soft-fp/op-common.h (FP_TRUNC): Correct off-by-one error in
condition for truncating to 0. Set sticky bit for such
truncation.
Ulrich Drepper [Wed, 2 May 2007 08:16:34 +0000 (2 08:16 +0000)]
.
Ulrich Drepper [Wed, 2 May 2007 08:15:50 +0000 (2 08:15 +0000)]
(process_string_arg): Use a VLA rather than fixed length array for ignore.
Ulrich Drepper [Tue, 1 May 2007 18:35:44 +0000 (1 18:35 +0000)]
.
Ulrich Drepper [Tue, 1 May 2007 18:35:32 +0000 (1 18:35 +0000)]
(main): Add test for large precision.