Roland McGrath
356b348023
Never call syslog in __libc_message.
2013-03-28 10:38:37 -07:00
Alan Modra
b0f1246ab4
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
2013-03-28 12:16:28 -05:00
Adhemerval Zanella
fbbe2b9a1f
Fix e_logl (128ibm) spurious underflow
2013-03-28 09:52:48 -03:00
Siddhesh Poyarekar
7a86be6e5f
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).
2013-03-28 11:45:47 +05:30
Siddhesh Poyarekar
1728ab378e
Format and clean up s_atan2.c
2013-03-28 10:56:06 +05:30
Joseph Myers
3a7182a14b
Fix casinh inaccuracy near i, imaginary part > 1 (bug 15307).
2013-03-27 14:38:44 +00:00
Siddhesh Poyarekar
5739f705ee
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.
2013-03-26 20:24:04 +05:30
Siddhesh Poyarekar
e375e83d17
Removed commented code
2013-03-26 20:14:18 +05:30
Siddhesh Poyarekar
6f2e90e78f
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.
2013-03-26 19:28:50 +05:30
Adhemerval Zanella
fce14d4e9c
PowerPC: fix libm ABI issue for llroundl
2013-03-26 10:01:57 -03:00
Mark H Weaver
9ad027fb30
Fix docs for scalbn* and scalbl* functions
...
* manual/arith.texi (Normalization Functions): Fix prototypes
for scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
2013-03-24 19:52:10 -04:00
Adhemerval Zanella
e42a38dd9d
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.
2013-03-22 12:39:10 -03:00
Dmitry V. Levin
2e0fb52187
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.
2013-03-22 03:16:00 +00:00
Adhemerval Zanella
b5784d95bb
PowerPC: fix sqrtl ABI issue
...
This patch fixes a sqrtl ABI issue when building for powerpc64.
2013-03-21 14:15:45 -03:00
Thomas Schwinge
bdef0be784
libm-test: Properly wrap blocks consisting of several statements.
2013-03-21 16:07:48 +01:00
Thomas Schwinge
5aa4a1a1fd
On 32-bit x86, disable certain tests involving sNaN values.
...
Follow-up to commit 495ded2c8c
.
2013-03-21 16:05:29 +01:00
Joseph Myers
98c48fe5cc
Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).
2013-03-21 13:57:21 +00:00
Siddhesh Poyarekar
3775a8bc2d
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.
2013-03-21 16:36:04 +05:30
Joseph Myers
0a1b2ae6f6
Fix casinh inaccuracy for argument with imaginary part 1 (bug 15287).
2013-03-21 10:27:10 +00:00
Siddhesh Poyarekar
b33d4ce4a2
Replace 8388608.0 with HALFRAD in mp code
...
Minor cleanup
2013-03-21 13:07:44 +05:30
Joseph Myers
bef0b50749
Move system-specific settings out of toplevel configure.in and config.make.in.
2013-03-20 22:37:06 +00:00
Roland McGrath
912cc4b3e4
BZ#14812: Add missing N_ markers in localedef.
2013-03-20 14:26:58 -07:00
Roland McGrath
9bb2a810a9
ChangeLog format fix.
2013-03-20 13:11:10 -07:00
Marcus Shawcroft
04eed2b061
Correct missed use of $(rtlddir).
2013-03-20 14:23:47 +00:00
Ondrej Bilka
a065ceffdf
Do not warn about mblen, mbtowc and wctomb unused result.
2013-03-20 08:08:27 +01:00
Roland McGrath
a600e5cef5
Consolidate Linux and POSIX libc_fatal code.
2013-03-19 17:07:15 -07:00
Joseph Myers
6b18bea625
Fix types of constants in k_casinh*.c.
2013-03-19 22:38:25 +00:00
Roland McGrath
63270c24c5
Adjust ChangeLog to give Benno Schulenberg his own header line.
2013-03-19 14:57:54 -07:00
Andreas Schwab
446737706c
s390x: Move rtld link to /lib
2013-03-19 12:08:35 +01:00
Andreas Schwab
aaa8cb4b43
Add support for rtld directory different from slib directory
2013-03-19 12:07:26 +01:00
Siddhesh Poyarekar
d3cfc668a3
Rename nptl.texi to threads.texi
...
The manual and its file names are about interfaces and not the
implementation details.
2013-03-19 14:28:20 +05:30
Roland McGrath
0e2b9cdde7
BZ#14812: Add missing translation marker on some argp option argument names in utilities.
2013-03-18 14:59:47 -07:00
Ondrej Bilka
b2e1393c60
Add changelog entry.
2013-03-18 07:49:05 +01:00
Carlos O'Donell
ec4ff04d23
manual: Sort mallopt M_* parameters alphabetically
...
Sort the mallopt M_* parameters alphabetically and add comments for the
missing paramters.
2013-03-17 16:03:02 -04:00
David S. Miller
cd18e90aa6
Update Sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-03-17 08:38:10 -07:00
Joseph Myers
d2f9799e7c
Fix y1l spurious overflows for ldbl-96 (bug 15283).
2013-03-16 17:51:48 +00:00
Joseph Myers
2a185d32e8
Fix spurious underflow exceptions for Bessel functions for ldbl-128 / ldbl-128ibm (bug 14155).
2013-03-16 17:50:28 +00:00
Thomas Schwinge
6cbec759de
Move "-sNaN" value into a separate variable.
2013-03-16 13:59:52 +01:00
Roland McGrath
aefc9b8c7c
Clean up _dl_pagesize initialization.
2013-03-15 14:35:17 -07:00
Roland McGrath
bc16e260d0
Move _dl_non_dynamic_init, _dl_aux_init declarations.
2013-03-15 14:32:04 -07:00
Thomas Schwinge
af00a34d08
* math/libm-test.inc (ldexp_test): Add missing START/END markers.
2013-03-15 19:13:53 +01:00
Thomas Schwinge
495ded2c8c
Promote a math test for sNaN handling to the top-level.
2013-03-15 19:12:10 +01:00
Thomas Schwinge
777b0332c0
Use GCC's builtins for generating NaNs.
2013-03-15 19:10:20 +01:00
Thomas Schwinge
64d063b800
Add one test, removed a duplicated one, add a few comments about missing tests.
2013-03-15 19:08:04 +01:00
Thomas Schwinge
67e971f18f
Better distinguish between NaN/qNaN/sNaN.
2013-03-15 19:06:02 +01:00
Thomas Schwinge
64487e1264
Enable tests for x86_64, too, which currently are enabled only for x86.
2013-03-15 19:02:18 +01:00
Thomas Schwinge
e015e27b90
Fix copy'n'pastos.
2013-03-15 19:00:23 +01:00
Thomas Schwinge
a57da95516
Remove unused declarations.
...
Added in commit f83af095b6
, and forgotten to be
removed in commit 76f2646f3d
.
2013-03-15 19:00:23 +01:00
Siddhesh Poyarekar
1e3803454e
Revert configurable mantissa patch
...
Reverts d22ca8cdfb
since it is severely broken on 32-bit.
2013-03-15 23:18:51 +05:30
Adhemerval Zanella
ef26eece63
PowerPC: gettimeofday optimization by using IFUNC
2013-03-15 10:58:56 -03:00