Joseph Myers
243216e126
Convert TEST_fi_f tests from code to data.
2013-05-13 19:45:36 +00:00
Joseph Myers
6a1992e268
Convert TEST_c_f tests from code to data.
2013-05-13 18:58:17 +00:00
Joseph Myers
0e400df55d
Convert TEST_if_f tests from code to data.
2013-05-13 18:57:35 +00:00
Joseph Myers
6d33265c72
Consistently use TEST_fl_f in tests of scalbln.
2013-05-13 18:56:50 +00:00
Adhemerval Zanella
f98ece5fe2
Define decimal constant M_1_DIV_El in libm-test.inc
...
This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.
2013-05-13 12:08:42 -05:00
Siddhesh Poyarekar
43fe811b73
Use HP_TIMING for benchmarks if available
...
HP_TIMING uses native timestamping instructions if available, thus
greatly reducing the overhead of recording start and end times for
function calls. For architectures that don't have HP_TIMING
available, we fall back to the clock_gettime bits. One may also
override this by invoking the benchmark as follows:
make USE_CLOCK_GETTIME=1 bench
and get the benchmark results using clock_gettime. One has to do
`make bench-clean` to ensure that the benchmark programs are rebuilt.
2013-05-13 13:44:32 +05:30
Siddhesh Poyarekar
0f7d347bd0
Make _LIB_VERSION a weak symbol
...
That way it can live alongside _LIB_VERSION in libieee.a for
statically compiled programs.
Resolves #14582 .
2013-05-13 11:46:36 +05:30
Joseph Myers
4f184d30cb
Convert TEST_fff_f tests from code to data.
2013-05-12 21:07:58 +00:00
Joseph Myers
081988778f
Convert TEST_c_c tests from code to data.
2013-05-12 17:38:26 +00:00
Marcus Shawcroft
d842b1440d
[AArch64] Fix out of range branch from ioctl() and clone()
...
2013-05-12 Marcus Shawcroft <marcus.shawcroft@linaro.org>
* sysdeps/unix/sysv/linux/aarch64/clone.S (__clone):
Do not call sycall_error directly with a confitional branch.
* sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl):
Do not call sycall_error directly with a confitional branch.
2013-05-12 18:09:33 +01:00
Joseph Myers
601a3a5fd5
Convert TEST_ff_f tests from code to data.
2013-05-12 13:17:09 +00:00
Joseph Myers
8329e4da35
Make fma and nextafter tests use max_value instead of fltmax.
2013-05-11 11:10:31 +00:00
Joseph Myers
74c574788d
Convert TEST_f_f tests from code to data.
2013-05-11 11:09:30 +00:00
Andreas Jaeger
b4180a5ea7
Add BZ #10191 to ChangeLog/NEWS
...
BZ #10191 was fixed some time ago without noticing at that time.
2013-05-11 10:28:21 +02:00
Christian Grönke
7187d844a1
Add getgid.c for SH
...
[BZ #12387 ]
* sysdeps/unix/sysv/linux/sh/getgid.c: New file.
2013-05-10 20:42:24 +02:00
Pino Toscano
f63fae7378
Hurd: add ST_NOATIME
2013-05-10 20:39:32 +02:00
Andreas Jaeger
8a67a4b343
Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.h
...
[BZ #15448 ]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
(__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
2013-05-10 20:28:40 +02:00
Joseph Myers
51df539d98
Start converting libm tests from code to data.
2013-05-10 16:45:04 +00:00
Siddhesh Poyarekar
5c637fe5ee
Fix coding style
2013-05-10 17:44:27 +05:30
Joseph Myers
ab2b94613d
Fix tgamma errno setting on domain error (bug 6809).
2013-05-10 11:35:11 +00:00
Florian Weimer
4c0fe6fe42
Use *stat64 instead of *stat in installed programs
...
This ensures reliable operation on file systems with inode numbers
which do not fit into 32 bits.
2013-05-10 11:42:17 +02:00
Andreas Jaeger
a3375d2990
Localize rpcgen
...
[BZ #15395 ]
* sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
localization.
Include <locale.h>.
2013-05-10 08:07:14 +02:00
Carlos O'Donell
3612972234
Add more comments to dlclose() algorithm.
...
The algorithm for scanning dependencies upon dlclose is
less than immediately obvious. This patch adds two bits
of comments that explain why you start the dependency
search at l_initfini[1], and why you need to restart
the search.
---
2013-05-09 Carlos O'Donell <carlos@redhat.com>
* elf/dl-close.c (_dl_close_worker): Add comments.
2013-05-09 17:37:15 -04:00
Joseph Myers
ed41ffefc3
Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).
2013-05-09 21:30:08 +00:00
Joseph Myers
d0213cd0b6
Fix ldbl-128 cos range reduction near pi/2 (bug 15429).
2013-05-09 21:28:54 +00:00
Joseph Myers
0d3e777af2
Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc.
2013-05-09 14:33:30 +00:00
Andi Kleen
66c13581af
Fix tst-mutexpi8
...
2013-05-09 Andi Kleen <ak@linux.intel.com>
* tst-mutex8.c (do_test): Check for ENABLE_PI.
2013-05-09 16:15:50 +02:00
Joseph Myers
24f5606614
Use M_PI_34l consistently in libm-test.inc.
2013-05-09 14:13:10 +00:00
Joseph Myers
faa7f8119f
Use decimal constants in defining M_* in libm-test.inc.
2013-05-09 12:24:44 +00:00
Adhemerval Zanella
e9a5e0fd54
Update powerpc libm-test ULPs
2013-05-08 15:06:56 -05:00
Joseph Myers
a0d9f9d745
Factor out initializers for libm-test.inc constants.
2013-05-08 16:10:44 +00:00
Joseph Myers
ae08db3ba0
Use correct TEST_* macros for jn, ldexp and yn tests.
2013-05-08 16:09:54 +00:00
Will Newton
ae65139d14
ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.
2013-05-08 12:06:34 +00:00
Joseph Myers
f44bf14a9c
Move some libm-test logic for running tests from gen-libm-test.pl to libm-test.inc.
2013-05-08 12:02:22 +00:00
Joseph Myers
d8cd06db62
Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).
2013-05-08 11:58:18 +00:00
Ondrej Bilka
bb7cf681e9
Preheat CPU in benchtests.
...
A benchmark could be skewed by CPU initialy working on minimal
frequency and speeding up later. We first run code in loop
to partialy fix this issue.
2013-05-08 08:25:08 +02:00
Aurelien Jarno
ba85394732
Only defined DEV_BSIZE if not already defined.
2013-05-08 00:00:46 +02:00
Roland McGrath
8347c74cc5
Declare _dl_skip_args in ldsodefs.h header.
2013-05-07 14:49:26 -07:00
Roland McGrath
1a0fc08754
ARM: Rewrite elf_machine_dynamic in pure C.
2013-05-07 10:29:13 -07:00
Carlos O'Donell
e8dd47916f
manual/message.texi: Fix english and clarify.
...
Rewrite the first paragraph to talk about users not humans,
and to use correct English.
Clarify that it is the mapping of messages to IDs that
impacts the design of the message translation API.
---
2013-05-07 Carlos O'Donell <carlos@redhat.com>
* manual/message.texi (Message Translation): Talk about users.
Message to key mapping impacts design.
2013-05-07 12:33:44 -04:00
Roland McGrath
a917305749
Fix glob64 broken by cleanup.
2013-05-06 17:11:12 -07:00
Roland McGrath
976e2f0381
Remove a dead declaration.
2013-05-06 17:06:50 -07:00
Roland McGrath
9723ffc524
Move dummy glob64.c alongside glob.c that defines glob64.
2013-05-06 16:11:11 -07:00
Roland McGrath
962e6658a3
Flesh out stub not-cancel.h file.
2013-05-06 16:03:35 -07:00
Roland McGrath
ee586a6d5c
Move getlogin_r_chk to login/ subdir.
2013-05-06 15:58:44 -07:00
Roland McGrath
355f916505
Fix poll stub implementation.
2013-05-06 15:23:51 -07:00
Roland McGrath
bd9ffde61a
Move ptsname_r_chk to login/ subdir.
2013-05-06 15:19:14 -07:00
Roland McGrath
8fb16a04e6
Move getlogin, getlogin_r, setlogin to login/ subdir.
2013-05-06 15:10:09 -07:00
Roland McGrath
b99b892f68
Fix stub setrlimit implementation.
2013-05-06 14:58:00 -07:00
Roland McGrath
c74058300c
Clean up POSIX.1 implementation of truncate.
2013-05-06 14:56:13 -07:00