Joseph Myers [Wed, 14 Mar 2012 20:09:44 +0000 (20:09 +0000)]
Install bits/syscall.h through install-headers.
Roland McGrath [Wed, 14 Mar 2012 18:13:37 +0000 (11:13 -0700)]
NEWS update for BZ#13846
Roland McGrath [Wed, 14 Mar 2012 17:53:13 +0000 (10:53 -0700)]
BZ#13846: manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
Joseph Myers [Wed, 14 Mar 2012 11:53:32 +0000 (11:53 +0000)]
Fix csqrt overflow/underflow (bug 13841).
Joseph Myers [Wed, 14 Mar 2012 01:18:57 +0000 (01:18 +0000)]
Add 13840 to NEWS.
Joseph Myers [Wed, 14 Mar 2012 01:12:05 +0000 (01:12 +0000)]
Add tests for hypot overflow/underflow.
David S. Miller [Wed, 14 Mar 2012 01:08:58 +0000 (18:08 -0700)]
Fix hypotf overflow/underflow by using double precision instead of scaling.
[BZ #13840]
* sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
double-precision for the calculation instead of scaling.
Joseph Myers [Tue, 13 Mar 2012 14:12:44 +0000 (14:12 +0000)]
Clean up dbl-64 rint, nearbyint.
David S. Miller [Tue, 13 Mar 2012 10:09:00 +0000 (03:09 -0700)]
Remove no longer needed assembler offset generation on sparc.
* 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.
David S. Miller [Tue, 13 Mar 2012 07:31:48 +0000 (00:31 -0700)]
Fix generic ldbl-128 expm1l just like x86-64 and i386 variants were.
* sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
large parameters.
David S. Miller [Tue, 13 Mar 2012 07:45:34 +0000 (00:45 -0700)]
Use correct implementation for dl-fxstatat64 on sparc64.
* sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
David S. Miller [Tue, 13 Mar 2012 07:43:20 +0000 (00:43 -0700)]
Fix warning in Linux openat implementation when __ASSUME_ATFCTS is set.
* sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
'err' in the ifdef scope in which it is actually used.
David S. Miller [Tue, 13 Mar 2012 07:33:58 +0000 (00:33 -0700)]
Add missing string.h include for strcpy calls.
* nss/nss_db/db-init.c: Include string.h
David S. Miller [Mon, 12 Mar 2012 22:57:17 +0000 (15:57 -0700)]
Fix another instance of the _dl_random masking bug, plus coding style.
* 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.
David S. Miller [Mon, 12 Mar 2012 22:51:15 +0000 (15:51 -0700)]
Add some missing sparc kernel-feature.h entries.
* 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.
David S. Miller [Mon, 12 Mar 2012 03:13:55 +0000 (20:13 -0700)]
Fix some 64-bit sparc build warnings.
* 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.
David S. Miller [Mon, 12 Mar 2012 02:41:43 +0000 (19:41 -0700)]
Fix typing of the bit twiddling done in _dl_setup_stack_chk_guard.
* sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
Fix masking out of the most significant byte of random value used.
David S. Miller [Mon, 12 Mar 2012 01:46:30 +0000 (18:46 -0700)]
Update sparc ULPs for recently added tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Andreas Schwab [Sat, 10 Mar 2012 17:20:51 +0000 (18:20 +0100)]
Update powerpc libm ULPs
David S. Miller [Sat, 10 Mar 2012 04:48:06 +0000 (20:48 -0800)]
Fix bugs in sparc PLT profiling register management, and add sparc sotruss support.
* 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.
Joseph Myers [Sat, 10 Mar 2012 00:56:21 +0000 (00:56 +0000)]
Use standard build rule to build rpcgen.
Joseph Myers [Sat, 10 Mar 2012 00:49:31 +0000 (00:49 +0000)]
Add 13566 to list of bugs fixed in NEWS.
Paul Eggert [Sat, 10 Mar 2012 00:44:13 +0000 (00:44 +0000)]
Replace FSF snail mail address with URL in miscellaneous files.
Paul Eggert [Sat, 10 Mar 2012 00:44:00 +0000 (00:44 +0000)]
Replace FSF snail mail address with URL in localedata.
Paul Eggert [Sat, 10 Mar 2012 00:43:12 +0000 (00:43 +0000)]
Replace FSF snail mail address with URL in gperf input.
Paul Eggert [Fri, 9 Mar 2012 23:35:39 +0000 (23:35 +0000)]
Replace FSF snail mail address with URL in Yacc input.
Roland McGrath [Sat, 10 Mar 2012 00:45:04 +0000 (16:45 -0800)]
Fix it harder.
Richard Henderson [Sat, 10 Mar 2012 00:34:18 +0000 (16:34 -0800)]
Fix ChangeLog format.
Richard Henderson [Fri, 9 Mar 2012 23:45:34 +0000 (15:45 -0800)]
Move math/math_private.h to sysdeps/generic/math_private.h.
This reverts commit
60d6f5a6f50d838bcb4240fcc0223cac445c6c83.
Richard Henderson [Fri, 9 Mar 2012 19:35:13 +0000 (11:35 -0800)]
Use include_next to chain math_private.h headers.
Richard Henderson [Fri, 9 Mar 2012 19:29:16 +0000 (11:29 -0800)]
Use <> for math.h and math_private.h everywhere.
Entire tree edited via find | grep | sed.
Joseph Myers [Fri, 9 Mar 2012 22:46:12 +0000 (22:46 +0000)]
Remove __GNU_LIBRARY__ conditionals from rpcgen.
David S. Miller [Fri, 9 Mar 2012 22:37:57 +0000 (14:37 -0800)]
Fix sparc build after recent math changes.
* include/math_private.h: New file.
Joseph Myers [Fri, 9 Mar 2012 22:36:06 +0000 (22:36 +0000)]
Split enum __socket_type from bits/socket.h to bits/socket_type.h.
Joseph Myers [Fri, 9 Mar 2012 22:08:39 +0000 (22:08 +0000)]
Always declare gets for C++ up to C++11 without checking __USE_GNU.
Joseph Myers [Fri, 9 Mar 2012 22:05:49 +0000 (22:05 +0000)]
Install bits/stdio_lim.h in install-headers.
Joseph Myers [Fri, 9 Mar 2012 21:10:45 +0000 (21:10 +0000)]
Make pthread.h define all symbols from time.h.
See:
http://www.pasc.org/interps/unofficial/db/p1003.1c/pasc-1003.1c-46.html
http://www.pasc.org/interps/unofficial/db/p1003.1/pasc-1003.1-86.html
https://www.opengroup.org/sophocles/show_mail.tpl?CALLER=index.tpl&source=L&listname=austin-group-l&id=17302
(Geoff Clare, austin-group-l, 9 Mar 2012)
Richard Henderson [Wed, 7 Mar 2012 17:16:59 +0000 (09:16 -0800)]
powerpc: Convert __ieee754_sqrt{,f} from macros to inlines.
Richard Henderson [Tue, 6 Mar 2012 23:58:51 +0000 (15:58 -0800)]
x86_64: Convert __rint* and __floor* from macros to inlines.
Richard Henderson [Tue, 6 Mar 2012 23:41:14 +0000 (15:41 -0800)]
x86_64: Convert __ieee754_sqrt{,f,l} from macros to inlines.
Richard Henderson [Wed, 7 Mar 2012 17:19:26 +0000 (09:19 -0800)]
Use target-specific math_private.h in math_ldbl_opt.h.
David S. Miller [Thu, 8 Mar 2012 08:46:09 +0000 (00:46 -0800)]
Update copyright year after my most recent changes.
nptl/
* sysdeps/unix/sysv/linux/sparc/sem_post.c: Update copyright year.
/
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
copyright year.
* sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
Thomas Schwinge [Thu, 8 Mar 2012 10:49:43 +0000 (11:49 +0100)]
Fix struct timespec normalization (as used in many other places).
Thomas Schwinge [Thu, 8 Mar 2012 10:22:41 +0000 (11:22 +0100)]
Work around kernel rejecting valid absolute timestamps.
Thomas Schwinge [Thu, 8 Mar 2012 09:45:05 +0000 (10:45 +0100)]
Invalid timeouts in SH sem_timedwait.
We adjusted nwaiters even though this isn't necessary.
Thomas Schwinge [Thu, 8 Mar 2012 08:33:12 +0000 (09:33 +0100)]
Fix
9554ebf2d4da22591e974d3cf2ed09a2b8dbdbd8.
| Invalid timeouts in i386 sem_timedwait.
|
| We adjusted nwaiters even though this isn't necessary.
Ulrich Drepper [Thu, 8 Mar 2012 08:02:24 +0000 (03:02 -0500)]
Clean up tst-fphex test
Ulrich Drepper [Thu, 8 Mar 2012 07:49:12 +0000 (02:49 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
Marek Polacek [Thu, 8 Mar 2012 07:46:43 +0000 (02:46 -0500)]
Fix up long double fphex test
Marek Polacek [Thu, 8 Mar 2012 07:32:47 +0000 (08:32 +0100)]
Enhance fphex test.
Ulrich Drepper [Thu, 8 Mar 2012 06:57:38 +0000 (01:57 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc
Joseph Myers [Thu, 8 Mar 2012 01:39:16 +0000 (01:39 +0000)]
Add bug 6911 to NEWS.
Joseph Myers [Thu, 8 Mar 2012 01:27:38 +0000 (01:27 +0000)]
Clean up glibc manual references to "GNU system" (bug 6911).
Joseph Myers [Thu, 8 Mar 2012 00:17:27 +0000 (00:17 +0000)]
Fix .ctors/.dtors header configure test for bootstrapping.
Joseph Myers [Wed, 7 Mar 2012 20:51:54 +0000 (20:51 +0000)]
Fix sysdeps/i386/configure.in cpuid.h test for bootstrapping.
Joseph Myers [Wed, 7 Mar 2012 19:34:22 +0000 (19:34 +0000)]
Weaken two NPTL configure link tests to compile tests.
Joseph Myers [Wed, 7 Mar 2012 15:15:19 +0000 (15:15 +0000)]
Fix signs of zeros from casinh, cacosh etc. (bug 10716).
Ulrich Drepper [Wed, 7 Mar 2012 14:46:20 +0000 (09:46 -0500)]
WS fixes
Ulrich Drepper [Wed, 7 Mar 2012 10:35:30 +0000 (05:35 -0500)]
Update traditional Chinese translation
Ulrich Drepper [Wed, 7 Mar 2012 10:17:13 +0000 (05:17 -0500)]
Remove distribute variable from Makefiles
Ulrich Drepper [Wed, 7 Mar 2012 09:48:47 +0000 (04:48 -0500)]
Don't install timezone rule files
Thomas Schwinge [Wed, 7 Mar 2012 09:11:11 +0000 (04:11 -0500)]
Get rid of superfluous assignments in sem_timedwait
Ulrich Drepper [Wed, 7 Mar 2012 08:32:29 +0000 (03:32 -0500)]
Merge branch 'master' of ssh://sourceware.org/git/glibc
Conflicts:
ChangeLog
Ulrich Drepper [Wed, 7 Mar 2012 05:28:22 +0000 (00:28 -0500)]
Fix CL
Ulrich Drepper [Wed, 7 Mar 2012 04:39:31 +0000 (23:39 -0500)]
Better CL
Ulrich Drepper [Wed, 7 Mar 2012 04:37:35 +0000 (23:37 -0500)]
Remove private information from libc-lock.h
Ulrich Drepper [Wed, 7 Mar 2012 02:55:18 +0000 (21:55 -0500)]
Add missing gshadow handling in __nss_configure_lookup
Ulrich Drepper [Wed, 7 Mar 2012 02:45:53 +0000 (21:45 -0500)]
Formatting fixes
Roland McGrath [Tue, 6 Mar 2012 23:59:05 +0000 (15:59 -0800)]
Wrap too-long log entry.
Marek Polacek [Tue, 6 Mar 2012 21:05:56 +0000 (22:05 +0100)]
Fix up long double fphex.
David S. Miller [Tue, 6 Mar 2012 19:15:26 +0000 (11:15 -0800)]
Fix several build warnings on sparc.
/
* 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.
nptl/
* sysdeps/unix/sysv/linux/sparc/sem_post.c (__new_sem_post): Use
atomic_increment and remove unused local variable.
(__old_sem_post): Likewise.
Joseph Myers [Tue, 6 Mar 2012 17:38:40 +0000 (17:38 +0000)]
Add 13792 to list of fixed bugs in NEWS.
David S. Miller [Tue, 6 Mar 2012 05:07:32 +0000 (21:07 -0800)]
Update sparc ULPs due to recently added tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Roland McGrath [Mon, 5 Mar 2012 20:48:57 +0000 (12:48 -0800)]
Wrap too-long log entry.
Andreas Schwab [Mon, 5 Mar 2012 19:20:15 +0000 (20:20 +0100)]
Update powerpc libm ULPs
Andreas Schwab [Mon, 5 Mar 2012 19:19:14 +0000 (20:19 +0100)]
Fix loss of precision in cosh and sinh for IBM long double
Andreas Jaeger [Mon, 5 Mar 2012 19:24:48 +0000 (20:24 +0100)]
Fix broken date.
H.J. Lu [Mon, 5 Mar 2012 18:45:53 +0000 (19:45 +0100)]
* 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.
Joseph Myers [Mon, 5 Mar 2012 15:03:57 +0000 (15:03 +0000)]
Reduce discussion of types to which size_t may be equivalent.
Andreas Jaeger [Mon, 5 Mar 2012 12:38:43 +0000 (13:38 +0100)]
Add BZ#13656
Andreas Jaeger [Mon, 5 Mar 2012 12:37:29 +0000 (13:37 +0100)]
* sysdeps/i386/fpu/libm-test-ulps: Update.
Joseph Myers [Mon, 5 Mar 2012 12:22:46 +0000 (12:22 +0000)]
Fix pow in non-default rounding modes (bug 3976).
Joseph Myers [Mon, 5 Mar 2012 12:20:24 +0000 (12:20 +0000)]
Test cosh, sinh in non-default rounding modes (bug 3976).
Tom de Vries [Mon, 5 Mar 2012 10:05:42 +0000 (11:05 +0100)]
2012-03-05 Tom de Vries <tom@codesourcery.com>
* 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.
Andreas Jaeger [Mon, 5 Mar 2012 09:43:35 +0000 (10:43 +0100)]
cleanup my last commit: tabify, change date
Kees Cook [Mon, 5 Mar 2012 09:18:17 +0000 (10:18 +0100)]
2012-03-02 Kees Cook <keescook@chromium.org>
* stdio-common/vfprintf.c (vfprintf): add missing errno settings.
Kees Cook [Mon, 5 Mar 2012 09:17:22 +0000 (10:17 +0100)]
2012-03-02 Kees Cook <keescook@chromium.org>
[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.
Andreas Schwab [Sat, 3 Mar 2012 13:20:24 +0000 (14:20 +0100)]
Update powerpc libm ULPs
Marek Polacek [Sat, 3 Mar 2012 21:54:18 +0000 (22:54 +0100)]
Remove oldish __GNUC_PREREQ.
David S. Miller [Sat, 3 Mar 2012 02:57:20 +0000 (18:57 -0800)]
Add sparc optimized {l,}rint{,f} for 32-bit v9 and 64-bit.
* 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.
Roland McGrath [Sat, 3 Mar 2012 00:50:06 +0000 (16:50 -0800)]
BZ #13792: License manual example source files under GPL.
Roland McGrath [Fri, 2 Mar 2012 23:54:38 +0000 (15:54 -0800)]
BZ #13792: Add missing file from last commit.
Roland McGrath [Fri, 2 Mar 2012 23:49:03 +0000 (15:49 -0800)]
BZ#13792: Move timeval_subtract example function in manual into an examples/ C source file.
David S. Miller [Fri, 2 Mar 2012 22:17:33 +0000 (14:17 -0800)]
Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
Joseph Myers [Fri, 2 Mar 2012 20:51:39 +0000 (20:51 +0000)]
Fix sin, cos, tan in non-default rounding modes (bug 3976).
Joseph Myers [Fri, 2 Mar 2012 15:32:56 +0000 (15:32 +0000)]
Fix scalbn, scalbln integer overflow.
Joseph Myers [Fri, 2 Mar 2012 15:23:30 +0000 (15:23 +0000)]
Document properties of standard typedefs, not exact types.
Joseph Myers [Fri, 2 Mar 2012 15:12:53 +0000 (15:12 +0000)]
Fix exp in non-default rounding modes (bug 3976).
Chris Demetriou [Fri, 2 Mar 2012 08:32:45 +0000 (09:32 +0100)]
2012-03-01 Chris Demetriou <cgd@google.com>
* sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals
* to
have predictable order.
David S. Miller [Fri, 2 Mar 2012 07:30:55 +0000 (23:30 -0800)]
Kill sparc32 specific __getpagesize, unneeded.
* sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.