Joseph Myers [Thu, 28 Mar 2013 21:43:56 +0000 (21:43 +0000)]
Fix typo in bug number in NEWS.
Roland McGrath [Thu, 28 Mar 2013 17:38:37 +0000 (10:38 -0700)]
Never call syslog in __libc_message.
Alan Modra [Thu, 28 Mar 2013 17:16:28 +0000 (12:16 -0500)]
PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.
The .eh_frame info in crt1.o isn't useful and this patch prevents it from
being generated on PowerPC. It triggers the following gold bug:
http://sourceware.org/bugzilla/show_bug.cgi?id=14675
Adhemerval Zanella [Thu, 28 Mar 2013 12:52:48 +0000 (09:52 -0300)]
Fix e_logl (128ibm) spurious underflow
Siddhesh Poyarekar [Thu, 28 Mar 2013 06:15:47 +0000 (11:45 +0530)]
Don't add input group during initgroups_dyn in hesiod
Fixes BZ #15304.
The *initgroups_dyn functions are called with a group argument. This
group gid is usually skipped while populating the grouplist since the
caller adds that group id in advance.
The hesiod initgroups_dyn implementation however adds the group gid to
the list if it does not already exist. While it works fine for the
usual initgroups, it breaks nscd since it calls initgroups_dyn with -1
as the gid (to have all groups included).
Siddhesh Poyarekar [Thu, 28 Mar 2013 05:26:06 +0000 (10:56 +0530)]
Format and clean up s_atan2.c
Joseph Myers [Wed, 27 Mar 2013 14:38:44 +0000 (14:38 +0000)]
Fix casinh inaccuracy near i, imaginary part > 1 (bug 15307).
Mans Rullgard [Tue, 26 Mar 2013 20:53:16 +0000 (20:53 +0000)]
ARM: fix preconfigure.
Siddhesh Poyarekar [Tue, 26 Mar 2013 14:54:04 +0000 (20:24 +0530)]
Use integral constants
The compiler is smart enough to convert those into double for powerpc,
but if we put them as doubles, it adds overhead by performing those
operations in floating point mode.
Siddhesh Poyarekar [Tue, 26 Mar 2013 14:44:18 +0000 (20:14 +0530)]
Removed commented code
Siddhesh Poyarekar [Tue, 26 Mar 2013 13:58:50 +0000 (19:28 +0530)]
Make mantissa type of mp_no configurable
The mantissa of mp_no is intended to take only integral values. This
is a relatively good choice for powerpc due to its 4 fpus, but not for
other architectures, which suffer due to this choice. This change
makes the default mantissa a long integer and allows powerpc to
override it. Additionally, some operations have been optimized for
integer manipulation, resulting in a significant improvement in
performance.
Adhemerval Zanella [Tue, 26 Mar 2013 13:01:57 +0000 (10:01 -0300)]
PowerPC: fix libm ABI issue for llroundl
Mark H Weaver [Sun, 24 Mar 2013 23:52:10 +0000 (19:52 -0400)]
Fix docs for scalbn* and scalbl* functions
* manual/arith.texi (Normalization Functions): Fix prototypes
for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
David S. Miller [Fri, 22 Mar 2013 20:29:31 +0000 (13:29 -0700)]
Update sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Adhemerval Zanella [Fri, 22 Mar 2013 15:39:10 +0000 (12:39 -0300)]
BZ#13889: expl (709.75) wrongly overflows for ldbl-128ibm
The patch increase the high value to check if expl overflows. Current
high mark value is not really correct, the algorithm accepts high values.
It also adds a correct wrapper function to check for overflow and underflow.
Dmitry V. Levin [Thu, 21 Mar 2013 23:02:37 +0000 (23:02 +0000)]
BZ#11120: fix x86_64/strcmp.S NOT_IN_libc safeguards
Due to a typo repeated several times, this bug hasn't been fixed yet,
despite being marked as resolved in glibc 2.12.
* sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
with NOT_IN_libc.
Adhemerval Zanella [Thu, 21 Mar 2013 17:15:45 +0000 (14:15 -0300)]
PowerPC: fix sqrtl ABI issue
This patch fixes a sqrtl ABI issue when building for powerpc64.
Thomas Schwinge [Thu, 21 Mar 2013 15:07:48 +0000 (16:07 +0100)]
libm-test: Properly wrap blocks consisting of several statements.
Thomas Schwinge [Tue, 19 Mar 2013 09:16:49 +0000 (10:16 +0100)]
On 32-bit x86, disable certain tests involving sNaN values.
Follow-up to commit
495ded2c8c1eb8c0ac4b54add2dd397852e19cba.
Joseph Myers [Thu, 21 Mar 2013 13:57:21 +0000 (13:57 +0000)]
Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).
Siddhesh Poyarekar [Thu, 21 Mar 2013 11:05:48 +0000 (16:35 +0530)]
Allow adding of arbitrary code to benchmark tests
This allows us to define custom functions in C code files and
benchmark scenarios rather than just functions. The main current use
of this is to separate the slow and fast path benchmarks for math
functions.
Joseph Myers [Thu, 21 Mar 2013 10:27:10 +0000 (10:27 +0000)]
Fix casinh inaccuracy for argument with imaginary part 1 (bug 15287).
Siddhesh Poyarekar [Thu, 21 Mar 2013 07:37:44 +0000 (13:07 +0530)]
Replace 8388608.0 with HALFRAD in mp code
Minor cleanup
Joseph Myers [Thu, 21 Mar 2013 00:41:56 +0000 (00:41 +0000)]
Use LIBC_CONFIG_VAR for MIPS default-abi setting.
Joseph Myers [Wed, 20 Mar 2013 23:15:42 +0000 (23:15 +0000)]
Use LIBC_CONFIG_VAR for ARM default-abi setting.
Joseph Myers [Wed, 20 Mar 2013 22:37:06 +0000 (22:37 +0000)]
Move system-specific settings out of toplevel configure.in and config.make.in.
Roland McGrath [Wed, 20 Mar 2013 21:26:58 +0000 (14:26 -0700)]
BZ#14812: Add missing N_ markers in localedef.
Joseph Myers [Wed, 20 Mar 2013 20:21:24 +0000 (20:21 +0000)]
Add bug 14176 to NEWS.
Roland McGrath [Wed, 20 Mar 2013 20:11:51 +0000 (13:11 -0700)]
BZ#14812: Mark fixed in NEWS.
Roland McGrath [Wed, 20 Mar 2013 20:11:10 +0000 (13:11 -0700)]
ChangeLog format fix.
Marcus Shawcroft [Wed, 20 Mar 2013 14:23:09 +0000 (14:23 +0000)]
Correct missed use of $(rtlddir).
Ondrej Bilka [Wed, 20 Mar 2013 07:08:27 +0000 (08:08 +0100)]
Do not warn about mblen, mbtowc and wctomb unused result.
Roland McGrath [Wed, 20 Mar 2013 00:07:15 +0000 (17:07 -0700)]
Consolidate Linux and POSIX libc_fatal code.
Joseph Myers [Tue, 19 Mar 2013 22:38:25 +0000 (22:38 +0000)]
Fix types of constants in k_casinh*.c.
Roland McGrath [Tue, 19 Mar 2013 21:57:54 +0000 (14:57 -0700)]
Adjust ChangeLog to give Benno Schulenberg his own header line.
Andreas Schwab [Tue, 19 Mar 2013 09:14:16 +0000 (10:14 +0100)]
aarch64: Move rtld link to /lib
Andreas Schwab [Tue, 19 Mar 2013 09:13:46 +0000 (10:13 +0100)]
s390x: Move rtld link to /lib
Andreas Schwab [Mon, 18 Mar 2013 11:44:47 +0000 (12:44 +0100)]
Add support for rtld directory different from slib directory
Siddhesh Poyarekar [Tue, 19 Mar 2013 09:30:08 +0000 (15:00 +0530)]
Fix up ChangeLog
I forgot to fix up the ChangeLog after renaming __default_attr to
__default_pthread_attr in code.
Siddhesh Poyarekar [Tue, 19 Mar 2013 09:04:13 +0000 (14:34 +0530)]
Move __default_stacksize into __default_pthread_attr
Make __default_pthread_attr object to store default attribute values
for threads.
Siddhesh Poyarekar [Tue, 19 Mar 2013 08:58:03 +0000 (14:28 +0530)]
Rename nptl.texi to threads.texi
The manual and its file names are about interfaces and not the
implementation details.
Roland McGrath [Mon, 18 Mar 2013 22:00:44 +0000 (15:00 -0700)]
ARM: Make dl-tlsdesc.S use sfi_breg, respect ARM_ALWAYS_BX and ARM_NO_INDEX_REGISTER.
Roland McGrath [Mon, 18 Mar 2013 21:18:53 +0000 (14:18 -0700)]
BZ#14812: Add missing translation marker on some argp option argument names in utilities.
Siddhesh Poyarekar [Mon, 18 Mar 2013 08:14:05 +0000 (13:44 +0530)]
Rename some static variables
Rename some static variables to give them unique names.
Ondrej Bilka [Mon, 18 Mar 2013 06:47:45 +0000 (07:47 +0100)]
Add changelog entry.
Ondrej Bilka [Mon, 18 Mar 2013 06:39:12 +0000 (07:39 +0100)]
Faster strlen on x64.
Carlos O'Donell [Sun, 17 Mar 2013 22:39:28 +0000 (18:39 -0400)]
Move BZ#11261 from 2.18 to 2.16 bug list.
BZ#11261 was fixed in the 2.16 release even if we only found out
that it was fixed in the 2.18 release. Testing shows it is fixed
in the 2.16 release so we add it to that NEWS section.
Carlos O'Donell [Sun, 17 Mar 2013 20:03:02 +0000 (16:03 -0400)]
manual: Sort mallopt M_* parameters alphabetically
Sort the mallopt M_* parameters alphabetically and add comments for the
missing paramters.
Carlos O'Donell [Thu, 14 Mar 2013 19:08:39 +0000 (15:08 -0400)]
BZ#11261 fixed by previous commit.
Fixed by
41b81892f11fe1353123e892158b53de73863d62.
Verified fixed by using test case in BZ#11261.
David S. Miller [Sun, 17 Mar 2013 15:38:10 +0000 (08:38 -0700)]
Update Sparc ULPs.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Joseph Myers [Sat, 16 Mar 2013 17:51:48 +0000 (17:51 +0000)]
Fix y1l spurious overflows for ldbl-96 (bug 15283).
Joseph Myers [Sat, 16 Mar 2013 17:50:28 +0000 (17:50 +0000)]
Fix spurious underflow exceptions for Bessel functions for ldbl-128 / ldbl-128ibm (bug 14155).
Thomas Schwinge [Fri, 15 Mar 2013 16:41:11 +0000 (17:41 +0100)]
Move "-sNaN" value into a separate variable.
Roland McGrath [Fri, 15 Mar 2013 21:35:17 +0000 (14:35 -0700)]
Clean up _dl_pagesize initialization.
Roland McGrath [Fri, 15 Mar 2013 21:32:04 +0000 (14:32 -0700)]
Move _dl_non_dynamic_init, _dl_aux_init declarations.
Thomas Schwinge [Fri, 8 Mar 2013 08:50:38 +0000 (09:50 +0100)]
* math/libm-test.inc (ldexp_test): Add missing START/END markers.
Thomas Schwinge [Thu, 28 Feb 2013 21:38:23 +0000 (22:38 +0100)]
Promote a math test for sNaN handling to the top-level.
Thomas Schwinge [Thu, 28 Feb 2013 21:30:18 +0000 (22:30 +0100)]
Use GCC's builtins for generating NaNs.
Thomas Schwinge [Fri, 1 Mar 2013 13:19:59 +0000 (14:19 +0100)]
Add one test, removed a duplicated one, add a few comments about missing tests.
Thomas Schwinge [Thu, 28 Feb 2013 16:12:25 +0000 (17:12 +0100)]
Better distinguish between NaN/qNaN/sNaN.
Thomas Schwinge [Thu, 21 Feb 2013 20:29:37 +0000 (21:29 +0100)]
Enable tests for x86_64, too, which currently are enabled only for x86.
Thomas Schwinge [Thu, 28 Feb 2013 12:03:37 +0000 (13:03 +0100)]
Fix copy'n'pastos.
Thomas Schwinge [Thu, 21 Feb 2013 18:44:29 +0000 (19:44 +0100)]
Remove unused declarations.
Added in commit
f83af095b6fc49de3914f4426202171341783277, and forgotten to be
removed in commit
76f2646f3dbe45d3ed53a0c73fa52f1595306b35.
Thomas Schwinge [Mon, 11 Mar 2013 11:44:39 +0000 (12:44 +0100)]
Avoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.
Follow-up to commit
664a9ce4ca40feabff781fff044c93a43ae15b59.
Siddhesh Poyarekar [Fri, 15 Mar 2013 17:41:50 +0000 (23:11 +0530)]
Revert configurable mantissa patch
Reverts
d22ca8cdfb98001d03772ef264b244930d439b3f
since it is severely broken on 32-bit.
Adhemerval Zanella [Fri, 15 Mar 2013 17:38:20 +0000 (14:38 -0300)]
Reverting wrong commit.
Restore sysdeps/gnu/configure wrongly modified on
ef26eece6331a1f6d959818e37c438cc7ce68e53.
Roland McGrath [Fri, 15 Mar 2013 16:32:16 +0000 (09:32 -0700)]
ARM: sfi_sp assembler macro
Roland McGrath [Fri, 15 Mar 2013 16:31:56 +0000 (09:31 -0700)]
ARM: sfi_breg assembler macro
Adhemerval Zanella [Fri, 15 Mar 2013 13:58:56 +0000 (10:58 -0300)]
PowerPC: gettimeofday optimization by using IFUNC
Siddhesh Poyarekar [Fri, 15 Mar 2013 07:00:03 +0000 (12:30 +0530)]
Framework for performance benchmarking of functions
See benchtests/Makefile to know how to use it.
Siddhesh Poyarekar [Fri, 15 Mar 2013 05:14:03 +0000 (10:44 +0530)]
Make mantissa type configurable
This allows the default mantissa to be integral, with powerpc
overriding it to take advantage of its FPUs.
Siddhesh Poyarekar [Fri, 15 Mar 2013 03:58:54 +0000 (09:28 +0530)]
Modify threads in nptl cindex to pthreads
Joseph Myers [Fri, 15 Mar 2013 01:18:32 +0000 (01:18 +0000)]
Regenerate sysdeps/x86_64/preconfigure.
Joseph Myers [Thu, 14 Mar 2013 17:47:30 +0000 (17:47 +0000)]
Fix spurious underflow exceptions for Bessel functions for double (bug 14155).
Andreas Schwab [Fri, 8 Feb 2013 18:17:58 +0000 (19:17 +0100)]
aarch64: use lib64 as default lib and slib directory
Siddhesh Poyarekar [Thu, 14 Mar 2013 07:07:42 +0000 (12:37 +0530)]
Add nptl manual chapter
This adds the base chapter for POSIX threads and also documentation
for thread-specific data, along with a note on its interaction with
C++11 thread_local variables.
Siddhesh Poyarekar [Thu, 14 Mar 2013 02:48:48 +0000 (08:18 +0530)]
Fix formatting in last change
Petr Baudis [Thu, 14 Mar 2013 00:16:53 +0000 (01:16 +0100)]
Fix __times() handling of EFAULT when buf is NULL
Roland McGrath [Wed, 13 Mar 2013 19:36:53 +0000 (12:36 -0700)]
ARM_BX_ALIGN_LOG2
Roland McGrath [Wed, 13 Mar 2013 16:51:37 +0000 (09:51 -0700)]
ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.
Roland McGrath [Wed, 13 Mar 2013 16:40:55 +0000 (09:40 -0700)]
ARM: Support avoiding pc as destination register.
Andreas Schwab [Mon, 11 Mar 2013 14:47:03 +0000 (15:47 +0100)]
Don't build .os objects of static-only-routines for extra libs
Carlos O'Donell [Wed, 13 Mar 2013 03:23:01 +0000 (23:23 -0400)]
Include atomic.h in generic lowlevellock.c.
Joseph Myers [Wed, 13 Mar 2013 01:54:00 +0000 (01:54 +0000)]
Update zic from tzcode 2013b.
Carlos O'Donell [Wed, 13 Mar 2013 01:25:40 +0000 (21:25 -0400)]
Remove mention of i386-pc-linux-gnu.
The GNU C Library does not support building for i386
therefore we remove mention of this configuration
from the INSTALL file.
Roland McGrath [Tue, 12 Mar 2013 17:03:56 +0000 (10:03 -0700)]
ARM: Make armv6t2 memchr implementation usable without Thumb.
Roland McGrath [Tue, 12 Mar 2013 17:00:53 +0000 (10:00 -0700)]
ARM: Change register allocation in armv6t2 memchr implementation.
Roland McGrath [Tue, 12 Mar 2013 19:47:36 +0000 (12:47 -0700)]
Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o
Roland McGrath [Tue, 12 Mar 2013 19:49:13 +0000 (12:49 -0700)]
Fix up log entry.
Mike Frysinger [Mon, 11 Mar 2013 01:22:12 +0000 (01:22 +0000)]
ia64: fix set-but-unused warnings with syscalls
These macros often set up a variable that later macros sometimes do
not use. Add unused attribute to avoid that.
Similarly, the ia64 code tends to check the err field rather than
the val (which is opposite of most arches) leading to the same
kind of warning. Replace this with a dummy reference.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Mon, 11 Mar 2013 01:20:39 +0000 (01:20 +0000)]
ia64: fix strict aliasing warnings with libm error
The current code declares double constants by using a char buffer and
then casting the pointer to a different type. This makes the aliasing
logic unhappy. Change it to use a union instead to avoid that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Sun, 10 Mar 2013 11:49:29 +0000 (11:49 +0000)]
ia64: fix strict aliasing warnings with func descriptors
Function pointers on ia64 are like parisc -- they're plabels. While
the parisc port enjoys a gcc builtin for extracting the address here,
ia64 has no such luck.
Casting & dereferencing in one go triggers a strict aliasing warning.
Use a union to fix that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Mon, 11 Mar 2013 23:55:55 +0000 (23:55 +0000)]
Add comments about ARM configure -fno-unwind-tables handling.
Roland McGrath [Mon, 11 Mar 2013 23:45:25 +0000 (16:45 -0700)]
ARM: Consolidate setjmp details in include/bits/setjmp.h file.
Roland McGrath [Mon, 11 Mar 2013 23:44:31 +0000 (16:44 -0700)]
ARM: Convert string/ assembly to unified syntax.
Roland McGrath [Mon, 11 Mar 2013 17:57:55 +0000 (10:57 -0700)]
ARM: Use r10 instead of r9.
Andreas Jaeger [Mon, 11 Mar 2013 18:57:48 +0000 (19:57 +0100)]
AM33: Use <bits/mman.h>
Andreas Jaeger [Mon, 11 Mar 2013 18:56:44 +0000 (19:56 +0100)]
Use <bits/mman.h> on ia64
Roland McGrath [Mon, 11 Mar 2013 16:26:43 +0000 (09:26 -0700)]
Clean up ARM preconfigure.
Ondrej Bilka [Mon, 11 Mar 2013 14:39:08 +0000 (15:39 +0100)]
Remove Prefer_SSE_for_memop on x64