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
Siddhesh Poyarekar
8cfdb7e056
Framework for performance benchmarking of functions
...
See benchtests/Makefile to know how to use it.
2013-03-15 12:30:03 +05:30
Siddhesh Poyarekar
d22ca8cdfb
Make mantissa type configurable
...
This allows the default mantissa to be integral, with powerpc
overriding it to take advantage of its FPUs.
2013-03-15 10:44:03 +05:30
Siddhesh Poyarekar
bcda98809c
Modify threads in nptl cindex to pthreads
2013-03-15 09:28:54 +05:30
Joseph Myers
06d5adfbda
Regenerate sysdeps/x86_64/preconfigure.
2013-03-15 01:18:32 +00:00
Joseph Myers
41c7328e85
Fix spurious underflow exceptions for Bessel functions for double (bug 14155).
2013-03-14 17:47:30 +00:00
Siddhesh Poyarekar
0409959c86
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.
2013-03-14 12:37:42 +05:30
Siddhesh Poyarekar
e25cfa6005
Fix formatting in last change
2013-03-14 08:18:48 +05:30
Petr Baudis
58a1335e76
Fix __times() handling of EFAULT when buf is NULL
2013-03-14 01:16:53 +01:00
Andreas Schwab
9dc7c64f93
Don't build .os objects of static-only-routines for extra libs
2013-03-13 12:12:45 +01:00
Joseph Myers
54206aa6a2
Update zic from tzcode 2013b.
2013-03-13 01:54:00 +00:00
Carlos O'Donell
e98cdb38ee
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.
2013-03-12 21:33:38 -04:00
Roland McGrath
9967e003b3
Add sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o
2013-03-12 12:50:13 -07:00
Roland McGrath
e6b5a29364
Fix up log entry.
2013-03-12 12:49:13 -07:00
Ondrej Bilka
80f844c9d8
Remove Prefer_SSE_for_memop on x64
2013-03-11 15:39:08 +01:00
Andreas Schwab
fb6b0fcbf1
Remove extra pthread_atfork compat symbols
2013-03-11 09:47:01 +01:00
Paul Pluzhnikov
3e6bd4b198
Set LC_ALL=C before sed.
2013-03-08 20:31:23 -08:00
Roland McGrath
222d7f00a4
Add dependency tracking for preconfigure files.
2013-03-08 14:31:33 -08:00
Joseph Myers
a222d91a13
Remove __malloc_ptr_t.
2013-03-08 21:27:42 +00:00
Joseph Myers
5cc45e102b
Use ISO C prototype for __default_morecore.
2013-03-08 16:47:43 +00:00
Joseph Myers
dd54b8644c
Remove __malloc_ptrdiff_t.
2013-03-08 16:46:45 +00:00
Joseph Myers
1ba4f03035
Remove __malloc_size_t.
2013-03-08 16:46:07 +00:00
Adhemerval Zanella
edf66e57fc
PowerPC: unify math_ldbl.h implementations
...
This patch removes redudant definition from PowerPC specific
math_ldbl, using the definitions from ieee754 math_ldbl.h.
2013-03-08 11:07:15 -03:00
Siddhesh Poyarekar
6d9145d817
Consolidate copies of mp code in powerpc
...
Retain a single copy of the mp code in power4 instead of the two
identical copies in powerpc32 and powerpc64.
2013-03-08 11:38:41 +05:30
Andreas Jaeger
4dd4e15794
Install <bits/mman-linux.h>
...
* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
bits/mman-linux.h.
2013-03-07 13:06:20 +01:00
Siddhesh Poyarekar
ce544b5bda
Merge powerpc slowexp.c into generic code
2013-03-07 13:25:02 +05:30
Siddhesh Poyarekar
4cc149fd8e
Merge powerpc slowpow.c into generic code
2013-03-07 13:23:07 +05:30
Siddhesh Poyarekar
e6ebd4a7d5
Use an intermediate variable to sum exponents in powerpc __mul and __sqr
2013-03-07 13:18:56 +05:30
Siddhesh Poyarekar
82a9811d29
Use generic mpa.c code for everything except __mul and __sqr
2013-03-07 12:23:29 +05:30
Siddhesh Poyarekar
adbb8027be
Remove PIPE_BUF Linux-specific code
...
Fixes BZ #12723
The variable pipe buffer size does nothing to the value of PIPE_BUF,
since the number of bytes that are atomically written is still
PIPE_BUF on Linux.
2013-03-07 12:15:08 +05:30
Ondrej Bilka
87bd9bc4bd
Revert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation"
...
This reverts commit b79188d717
.
2013-03-06 22:27:18 +01:00
Ondrej Bilka
b79188d717
* sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation
...
which is faster on all x86_64 architectures.
Tested on AMD, Intel Nehalem, SNB, IVB.
2013-03-06 21:54:01 +01:00
Patsy Franklin
39120df9b9
T_REMOVEDIR and AT_EACCESS have the same value.
...
Add comments to fcntl.h explaining why AT_REMOVEDIR
and AT_EACCESS can have the same value.
2013-03-06 13:39:16 -05:00
Andreas Jaeger
664a9ce4ca
Use <bits/mman-linux.h> for MIPS
...
* sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS):
Allow definition via __MAP_ANONYMOUS.
* sysdeps/unix/sysv/linux/mips/bits/mman.h: Remove all defines
provided by bits/mman-linux.h and include <bits/mman-linux.h>.
(__MAP_ANONYMOUS): Define.
2013-03-06 17:36:37 +01:00
Andreas Jaeger
8e39047d31
Remove MAP_GROWSUP on s390
...
* sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP):
Remove, it's not part of Linux headers.
2013-03-06 16:39:56 +01:00
Andreas Jaeger
67525cb832
Sync with Linux 3.8
2013-03-06 16:35:19 +01:00
Andreas Krebbel
8a4473cc90
S/390: Add BZ number to changelog entry and NEWS.
2013-03-06 09:57:32 +01:00
Paul Pluzhnikov
e1b42695ea
Replace __builtin_expect(..., 0) with __glibc_unlikely().
2013-03-05 21:38:19 -08:00
Joseph Myers
2d67d91ac0
Remove powerpc64 bounded-pointers code.
2013-03-06 00:10:21 +00:00
Paul Pluzhnikov
cdcf361fda
* stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
...
call free(NULL).
2013-03-05 13:44:33 -08:00
David S. Miller
3c4a2b151b
Update Spanish PO file from translation team.
...
* po/es.po: Update from translation team.
2013-03-05 14:29:06 -05:00
Andreas Jaeger
890b58d3bd
Define MCL_CURRENT, MCL_FUTURE in bits/mman-linux.h
...
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
<bits/mman-linux.h>.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.
(MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
is fine.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
<bits/mman-linux.h> to end of file.
* sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
(MCL_CURRENT, MCL_FUTURE): Define here.
2013-03-05 19:40:13 +01:00
Andreas Krebbel
5f67c04f5e
S/390: Use attribute_hidden in ifunc-resolve.c
2013-03-05 13:19:03 +01:00
Andreas Krebbel
c3e94a9533
S/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.
2013-03-05 08:15:33 +01:00
Joseph Myers
cfb6382a4f
Remove powerpc32 strncmp comments about bounded pointers.
2013-03-04 23:53:05 +00:00
Andreas Jaeger
2e167a700a
Fix ChangeLog
...
remove duplicate line, use commit date
2013-03-04 20:34:05 +01:00
Andreas Jaeger
539d8e0188
Create <bits/mman-linux.h>
...
* sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with
Linux common definitions.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
provided by bits/mman-linux.h and include <bits/mman-linux.h>.
* sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
* sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
2013-03-04 20:26:59 +01:00
Adhemerval Zanella
e0b780ad5b
BZ #15055 : Use __ieee754_sqrl in acoshl for lbdl-128ibm
2013-03-04 11:37:51 -03:00
Joseph Myers
6850863319
Use same installed powerpc headers for hard and soft float.
2013-03-01 22:53:27 +00:00
Roland McGrath
7775448e57
Fix NEED_DL_SYSINFO_DSO conditionals.
2013-03-01 14:44:44 -08:00
Carlos O'Donell
4e9b599577
Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes.
...
This reverts the change that allows the POSIX Thread default stack size
to be changed by the environment variable
GLIBC_PTHREAD_DEFAULT_STACKSIZE. It has been requested that more
discussion happen before this change goes into 2.18.
2013-03-01 16:18:08 -05:00
Siddhesh Poyarekar
e5c74c633e
Update NEWS
2013-03-01 20:43:40 +05:30
Siddhesh Poyarekar
e23872c8db
Set default stack size from program environment
...
New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
2013-03-01 14:15:39 +05:30
Joseph Myers
b551088322
Remove powerpc32 bounded-pointers code.
2013-02-28 21:23:47 +00:00
Siddhesh Poyarekar
8d19fe64ee
Sync up ppc add_magnitudes and sub_magnitudes with default code
2013-02-28 11:13:05 +05:30
Roland McGrath
85bd816a60
Add license exception text to gmon-start.
2013-02-27 14:59:25 -08:00
Richard Henderson
b5977bf267
Sync config.guess and config.sub with upstream
2013-02-27 09:46:51 -08:00
Siddhesh Poyarekar
09c14ed23e
Format mpsqrt.c
2013-02-27 11:28:20 +05:30
Siddhesh Poyarekar
a688864eed
Format mpatan2.c
2013-02-27 11:27:41 +05:30
Siddhesh Poyarekar
6295157a77
Format mpatan.c
2013-02-27 11:26:22 +05:30
Siddhesh Poyarekar
b8de22026d
Format mptan.c
2013-02-27 11:25:39 +05:30
Siddhesh Poyarekar
11d6e2f237
Format mplog.c
2013-02-27 11:24:45 +05:30
Roland McGrath
90f42071e3
Fix last change.
2013-02-26 18:50:17 -08:00
Roland McGrath
7e80ddb824
Generalize %.v.i rule a bit.
2013-02-26 16:01:06 -08:00
Siddhesh Poyarekar
45f058844c
Another tweak to the multiplication algorithm
...
Reduce the formula to calculate mantissa so that we reduce the net
number of multiplications performed.
2013-02-26 21:28:16 +05:30
Siddhesh Poyarekar
2236d3595a
Don't duplicate mpone and mptwo
2013-02-26 15:15:27 +05:30
Siddhesh Poyarekar
7da6d9ed26
Fix FPE in memusagestat when malloc utilization is zero
...
[BZ #15160 ]
Draw graphs for heap and stack only if MAXSIZE_HEAP and MAXSIZE_STACK
are non-zero.
2013-02-26 14:24:40 +05:30
Paul Eggert
b7688c42e7
Bring back definition of __attribute__ for non-gcc and older gcc
...
gnulib copies this file over and needs it.
2013-02-26 14:17:12 +05:30
Siddhesh Poyarekar
53a5c423fb
Fix some build warnings
2013-02-26 10:40:19 +05:30
Siddhesh Poyarekar
2a983a2e0a
Remove commented declarations
2013-02-25 18:11:14 +05:30
Siddhesh Poyarekar
e69804d14e
Use long wherever possible in mpa.c
...
Using long throughout like powerpc does is beneficial since it reduces
the need to switch to 32-bit instructions. It gives a very minor
performance improvement.
2013-02-25 16:43:03 +05:30
Siddhesh Poyarekar
2f22a1e8dd
Format slowexp.c
2013-02-25 16:13:35 +05:30
Siddhesh Poyarekar
8930ddc705
Reformat slowpow.c
2013-02-25 16:08:38 +05:30
Siddhesh Poyarekar
dc60cb110b
Remove commented code
2013-02-25 14:51:57 +05:30