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
Siddhesh Poyarekar
60f5a8b534
Sync up powerpc __mp_dbl with default code
2013-02-25 12:01:45 +05:30
Allan McRae
faf6f8bca8
Fix menu ordering in socket.texi.
...
Match the order of (sub)sections in the menu to that in the file..
2013-02-24 21:06:00 +10:00
Allan McRae
b4d1fd3370
Add @detailmenu to subsection node listing
...
Surround the "Detailed Node Listing" section of the info page menu with
@detailmenu flags to avoid confusing texinfo. Resolves a large number
of warnings printed by texinfo-5.0.
2013-02-24 21:05:58 +10:00
Joseph Myers
2366713d87
Remove remaining bounded-pointers support from i386 .S files.
2013-02-21 22:21:52 +00:00
Allan McRae
582a3cff13
Move @end statement to start of line
...
Fixes a warning with texinfo-5.0.
2013-02-21 22:40:24 +10:00
Siddhesh Poyarekar
8094523147
Mark __inv as static in powerpc
2013-02-21 15:05:28 +05:30
Siddhesh Poyarekar
bab8a695ee
Fix whitespace differences between generic and powerpc mpa.c
2013-02-21 14:31:42 +05:30
Andreas Krebbel
e21d7aa71c
S/390: Fix _dl_runtime_profile for 32 bit.
2013-02-21 09:47:55 +01:00
Siddhesh Poyarekar
4c7a4263af
Mark ZERO inputs to __mul as unlikely on powerpc
...
Syncs up with generic code.
2013-02-21 12:17:29 +05:30
Carlos O'Donell
41f49342e9
manual: Remove frobnicate @pxref.
...
We remove the frobnicate @pxref in the "System Databases and Name
Service Switch" chapter. The @pxref doesn't make sense in the given
context.
2013-02-20 13:30:23 -05:00
Thomas Schwinge
50022a93fc
Respect the user's namespace in installed header files.
...
Fixup for commit c7b275d6b3
.
2013-02-20 18:51:56 +01:00
Petr Machata
08cbd996d3
Add ARM relocation constants to elf/elf.h.
2013-02-20 16:19:04 +00:00
Thomas Schwinge
c7b275d6b3
bits/nan.h: Change __attribute_used__ to __attribute__ ((unused)).
2013-02-20 16:49:58 +01:00
Siddhesh Poyarekar
20cd7fb3ae
Copy comment about inner loop from powerpc mpa.c to the default one
2013-02-20 18:56:20 +05:30
Joseph Myers
92945b5261
Remove some bounded-pointers support from i386 .S files.
2013-02-19 21:58:08 +00:00
Jakub Jelinek
b65e2ba34b
Merge branch 'master' of ssh://sourceware.org/git/glibc
2013-02-19 17:57:37 +01:00
Jakub Jelinek
2389741abb
* stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
...
macro.
2013-02-19 17:56:59 +01:00
Siddhesh Poyarekar
e4f223248e
Fix some testsuite build warning fixes in libm
2013-02-19 21:20:44 +05:30
Siddhesh Poyarekar
2016b3cd19
Fix copyright year in new files
2013-02-19 09:21:52 +05:30
Mike Frysinger
4be9b544ea
stdlib.h: use existing malloc/alloc_size attribute defines
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18 17:19:00 -05:00
Mike Frysinger
2f62b9ee0c
sys/cdefs.h: export __attribute_alloc_size__
...
Since we want to use this in installed headers, move it to the installed
sys/cdefs.h. This requires a slight tweaking of the name (add trailing
underscores).
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18 17:18:57 -05:00
Mike Frysinger
6ff444c418
unify xmalloc prototypes & friends
...
These prototypes are duplicated in many places. Add a dedicated
header for holding prototypes for program-specific functions to
avoid that.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-02-18 17:16:05 -05:00
Siddhesh Poyarekar
f4804ca2bb
Fix ChangeLogs
2013-02-18 21:41:34 +05:30
Siddhesh Poyarekar
ba384f6ed9
C++11 thread_local destructors support
...
This feature is specifically for the C++ compiler to offload calling
thread_local object destructors on thread program exit, to glibc.
This is to overcome the possible complication of destructors of
thread_local objects getting called after the DSO in which they're
defined is unloaded by the dynamic linker. The DSO is marked as
'unloadable' if it has a constructed thread_local object and marked as
'unloadable' again when all the constructed thread_local objects
defined in it are destroyed.
2013-02-18 19:08:21 +05:30
Siddhesh Poyarekar
ffaa74cf68
Fix build warnings in some test cases
...
Include stdlib.h to get declaration of exit(3)
2013-02-18 18:17:05 +05:30
Siddhesh Poyarekar
be179c8a36
New function _dl_find_dso_for_object
...
Consolidate code to search for an address within a DSO.
2013-02-18 18:00:17 +05:30
Andreas Krebbel
f78b5caa6e
S/390: Fix _dl_runtime_profile
2013-02-18 10:29:40 +01:00
Joseph Myers
2969121014
Remove bounded-pointers handling from x86_64 assembly sources.
2013-02-17 21:57:26 +00:00
Andreas Jaeger
f238fd190b
Sort Versions files
2013-02-17 16:34:04 +01:00
Siddhesh Poyarekar
bd07f23c4a
Fix ChangeLog date (again)
...
I just realized that it's 16-Feb in India, but not in UTC. Make it
15th again.
2013-02-16 00:21:14 +05:30
Siddhesh Poyarekar
22af19f9fb
Don't require LIM to determine loop end in __sqr
2013-02-16 00:15:57 +05:30
Siddhesh Poyarekar
4709fe7602
Use intermediate variable to compute exponent in __mul
2013-02-16 00:09:29 +05:30
Siddhesh Poyarekar
2d0e0f29f8
Fix determination of lower precision in __mul
2013-02-15 23:56:20 +05:30
Joseph Myers
daaa7713e9
Remove bounded-pointers build system support.
2013-02-15 15:07:54 +00:00
Joseph Myers
2bdd4ca6b6
Remove miscellaneous bounded-pointers relics in C code.
2013-02-15 00:51:53 +00:00
Joseph Myers
e97ed6ddbe
Remove bp-sym.h and BP_SYM uses from C code.
2013-02-14 13:12:02 +00:00
Siddhesh Poyarekar
cb57ce6031
Remove redundant return keyword
2013-02-14 15:43:25 +05:30
Siddhesh Poyarekar
f414520d3c
Use __sqr instead of __mul wherever possible
2013-02-14 11:39:14 +05:30
Siddhesh Poyarekar
d6752ccd69
New __sqr function as a faster special case of __mul
2013-02-14 10:31:09 +05:30
Joseph Myers
70d9946a44
Remove __ptrvalue, __bounded and __unbounded.
2013-02-13 23:30:40 +00:00
Roland McGrath
ffb1ec7b7f
Fix up ChangeLog.
2013-02-13 10:45:31 -08:00
Ondrej Bilka
cc7834d65e
Install stdlib-bsearch.h header
2013-02-13 13:44:36 +01:00
Ondrej Bilka
170704c9ec
Call memcpy in generic mempcpy
2013-02-13 12:57:41 +01:00
Siddhesh Poyarekar
c2af38aa76
Remove unnecessary factorial array
...
kf is n! at the end of the loop, so storing the values is unnecessary.
2013-02-13 17:19:07 +05:30
Siddhesh Poyarekar
4e92d59e26
Better exp polynomial
...
The lesser the __mul calls, the better it is for performance.
2013-02-13 14:49:50 +05:30
Siddhesh Poyarekar
909279a5cf
Optimized mp multiplication
...
Don't bother multiplying zeroes since that only wastes cycles.
2013-02-13 14:16:23 +05:30
Siddhesh Poyarekar
bdf028142e
Clean up add_magnitudes and sub_magnitudes
2013-02-13 13:55:29 +05:30
Roland McGrath
cd52592332
Remove redunant "warning: " prefix from stub warnings.
2013-02-12 16:15:59 -08:00
Andreas Schwab
a445af0bc7
Fix buffer overrun in regexp matcher
2013-02-12 09:30:34 +01:00
Andreas Schwab
7e2f0d2d77
Fix handling of collating symbols in regexps
2013-02-12 09:25:34 +01:00
Tom de Vries
a175b684e2
Fix typo, improve comment, remove superfluous #undefs, add missing #undef.
2013-02-12 00:00:49 +01:00
Roland McGrath
310998fe2b
Fix log entry in last change.
2013-02-11 14:32:57 -08:00
Ondrej Bilka
41eda41d74
Add inline bsearch expansion.
2013-02-11 23:18:09 +01:00
Roland McGrath
8ded91fb37
Fix some errors in declarations in the manual.
2013-02-11 14:16:43 -08:00
Tom de Vries
fe77fe6d51
Remove dead CFLAGS lines from string/Makefile
2013-02-11 23:10:26 +01:00
Roland McGrath
3a09b6208d
Fix a typo in the mremap comment.
2013-02-11 13:06:09 -08:00
Tom de Vries
046f153e20
Fix typo in ChangeLog entry for commit 03759f47db
2013-02-11 14:52:13 +01:00
Roland McGrath
550a0b89b4
Fix PF_LOCAL socket example sockaddr_un size calculation.
2013-02-08 14:55:50 -08:00
Joseph Myers
a2da1673fe
Remove CHECK_N and bp-checks.h.
2013-02-08 20:06:30 +00:00
Roland McGrath
7f3e75f87a
Remove dead variable in generic strcpy.
2013-02-08 10:46:32 -08:00
Roland McGrath
b84660a888
Support sysdeps/.../include/ directories.
2013-02-08 10:26:21 -08:00
Carlos O'Donell
471514d39d
Refactor code out of nscd's two main poll loops.
...
We refactor the inotify file checking code and the
database clearing code out of the main_loop_poll and
mail_loop_epoll functions. We document some the related
functions with appropriate comments.
2013-02-08 12:56:22 -05:00
Carlos O'Donell
b2d3c3befb
Add more comments to _dl_load_cache_lookup().
...
Calling _dl_load_cache_lookup will load the cache if not already.
If loading the cache fails no more attempts will be made to load
the cache.
2013-02-08 12:55:34 -05:00
Carlos O'Donell
ddacd1db6a
BZ #15006 : Updates NEWS and ChangeLog.
2013-02-08 12:37:44 -05:00
Carlos O'Donell
b39949d211
ARM: Support loading unmarked objects from cache.
...
ARM now supports loading unmarked objects from
the dynamic loader cache. Unmarked objects can
be used with the hard-float or soft-float ABI.
We must support loading unmarked objects during
the transition period from a binutils that does
not mark objects to one that does mark them with
the correct ELF flags.
Signed-off-by: Carlos O'Donell <carlos@redhat.com>
2013-02-08 12:26:12 -05:00
Joseph Myers
f3aae3f3eb
Remove CHECK_1 and CHECK_1_NULL_OK.
2013-02-08 01:12:11 +00:00
Joseph Myers
b2c9eff43c
Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code.
2013-02-08 01:10:40 +00:00
Roland McGrath
f1d70dad53
Remove lots of inline keywords.
2013-02-07 14:44:18 -08:00
Roland McGrath
7bd642f580
Move nss directory into sysdeps Subdirs.
2013-02-05 14:32:48 -08:00
Roland McGrath
573c29b288
Replace an alloca use with a variable-length array.
2013-02-05 12:15:56 -08:00
Roland McGrath
b2e25af00c
Fix aliases in stub lseek.
2013-02-05 11:39:20 -08:00
Roland McGrath
eab55bfb14
Add missing includes to sysdeps/generic/malloc-sysdep.h.
2013-02-05 11:34:06 -08:00
Carlos O'Donell
9a0d1941d3
getenv: Remove check for non-standard endianness.
...
stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
else clause and remove check for non-standard endianness.
2013-02-04 20:11:36 -05:00
David S. Miller
b83bbec4cc
Update sparc ULPs after Joseph's casin fixes.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-02-04 10:31:18 -08:00
Joseph Myers
6277fdabc0
Remove CHECK_STRING, CHECK_STRING_NULL_OK and __ubp_memchr.
2013-02-04 16:29:39 +00:00
Andreas Schwab
903ae060db
Don't use GLIBC_PRIVATE errno outside of libraries
2013-02-04 10:01:54 +01:00
Jan Kratochvil
542f94662e
Improve link_map.l_addr comment.
2013-02-02 10:29:17 +01:00
Joseph Myers
e782a927c2
Remove BOUNDED_N and BOUNDED_1.
2013-02-01 06:35:29 +00:00
Joseph Myers
3a7ac8a0f5
Remove bp-start.h and INIT_ARGV_and_ENVIRON.
2013-02-01 00:06:18 +00:00
Joseph Myers
f3499f95c8
Remove CHECK_IOCTL, CHECK_FCNTL and CHECK_N_PAGES.
2013-01-31 23:01:01 +00:00
Joseph Myers
32a45bea39
Remove CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
2013-01-31 23:00:15 +00:00
Joseph Myers
2e8a5c8c46
Remove bp-semctl.h and CHECK_SEMCTL.
2013-01-31 22:59:04 +00:00
Joseph Myers
c2d549290d
Remove bp-thunks code.
2013-01-31 22:57:06 +00:00
Joseph Myers
8cf28c5ebe
Fix casinh spurious underflows away from [-i,i] (bug 15062).
2013-01-31 22:55:29 +00:00
David S. Miller
c4e33b8d8b
Update German translations.
...
* po/de.po: Update from translation team.
2013-01-31 15:13:24 -05:00
Maxim Kuvyrkov
3b60b421b5
* time/tzfile.c: Include stdint.h for SIZE_MAX.
2013-01-26 14:56:21 +13:00
Thomas Schwinge
b5a5da2376
Don't bother checking for $CC option to accept ISO C89.
2013-01-25 12:44:45 +01:00
Thomas Schwinge
bb931195fe
configure: Default to CPP="$CC -E" unless overridden.
2013-01-25 12:33:19 +01:00
Joseph Myers
8c53a12c86
Avoid backtrace tests matching filenames when searching for function names.
2013-01-24 00:23:13 +00:00
Roland McGrath
4858fa2af6
Whitespace fix for __glibc_likely/__glibc_unlikely defns.
2013-01-23 15:00:55 -08:00
David S. Miller
bae8e7f5ed
Add a minor 'cas' atomic optimization on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Use %g0 as second
argument of CAS if possible.
* sysdeps/sparc/sparc64/bits/atomic.h
(__arch_compare_and_exchange_val_32_acq): Likewise.
(__arch_compare_and_exchange_val_64_acq): Likewise.
2013-01-23 11:27:24 -08:00
Pino Toscano
67b3f58c83
ulimit: remove buggy bsd implementation
...
The bsd implementation of ulimit produces wrong return values, so remove it
in favour of the posix implementation.
The only regression for non-Linux implementations using bsd sysdeps and not
providing an own ulimit is that the __UL_GETMAXBRK case (which is non-standard)
is left unimplemented (giving EINVAL).
2013-01-23 17:29:35 +01:00
Pino Toscano
92a601b883
ulimit: include <limits.h>
2013-01-23 17:27:45 +01:00
Pino Toscano
9cbbc4aebe
ulimit: move linux implementation as posix
...
The linux implementation of ulimit works correctly and has nothing specific
to Linux, so move it as general posix implementation.
2013-01-23 17:25:53 +01:00
Adam Conrad
5655a0b58e
Build elf/tst-array2 and elf/tst-array5 with --no-as-needed
...
* elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
(LDFLAGS-tst-array5): Likewise.
2013-01-22 23:05:33 -07:00
Joseph Myers
052aff9578
Make bits/wchar.h correct for all architectures (bug 15036).
2013-01-23 00:42:51 +00:00
David S. Miller
7c1e01aabc
Use libgcc unwinder for sparc backtraces, if available.
...
* sysdeps/sparc/backtrace.c: New file.
* sysdeps/sparc/sparc32/backtrace.h: New file.
* sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.h: New file.
* sysdeps/sparc/sparc64/backtrace.c: Delete.
* sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
-funwind-tables.
2013-01-21 14:15:30 -08:00
Andreas Schwab
ab087e0aa4
Avoid busy loop in wordexp when substituted command closed its stdout
2013-01-21 10:40:04 +01:00
Andreas Schwab
ed689c2f74
Remove use of mpa2.h
2013-01-20 02:05:53 +01:00
Joseph Myers
31d470ac24
Add tests that backtrace and backtrace_symbols produce correct results.
2013-01-18 15:49:43 +00:00
Ryan S. Arnold
90567f30eb
Corrected ChangeLog date of __kernel_get_tbfreq fix.
2013-01-18 07:52:18 -06:00
Anton Blanchard
471a1672d4
PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
...
In order for the __kernel_get_tbfreq vDSO call to work the
INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from
assuming an integer return type (since the timebase frequency is a 64-bit
value) by specifying the type of the return type as a macro parameter. The
macro then specifically declares the return value as a 'register' (or
implied pair) of the denoted type. The compiler is then informed that this
register (or implied pair) is to be used for the return value.
2013-01-18 07:44:38 -06:00
Siddhesh Poyarekar
0b57daebab
Fix application of the exception mask
...
Fixes BZ #14496 .
2013-01-18 14:16:25 +05:30
Siddhesh Poyarekar
caa99d06e7
Simplify calculation of 2^-m in __mpexp
2013-01-18 11:18:13 +05:30
Siddhesh Poyarekar
d3b9ea6148
Remove unnecessary multiplication with RADIXI
2013-01-18 11:14:34 +05:30
David S. Miller
1dbaee3c12
Update sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-17 20:45:04 -08:00
Joseph Myers
728d7b43fc
Fix cacos real-part inaccuracy for result real part near 0 (bug 15023).
2013-01-17 20:25:51 +00:00
Pino Toscano
2a26ef3a01
Add HAVE_MREMAP for mremap usage
...
Introduce (only on Linux) and use a HAVE_MREMAP symbol to advertize mremap
availability.
Move the malloc-sysdep.h include from arena.c to malloc.c, since what is
provided by malloc-sysdep.h is needed earlier in malloc.c, before the inclusion
of arena.c.
2013-01-17 21:08:12 +01:00
Siddhesh Poyarekar
881ebe897a
Fix ChangeLog
2013-01-17 15:07:53 +05:30
Siddhesh Poyarekar
a897655d7b
Fix header comment
2013-01-17 15:05:22 +05:30
H.J. Lu
22676eafed
Implement x86 SIZE32/SIZE64 relocations
2013-01-16 20:31:03 -08:00
Joseph Myers
59981e9b0d
Adapt installed powerpc headers better for soft-float / no-FPRs.
2013-01-17 02:08:51 +00:00
Andreas Schwab
cfa8054fbb
Hide reference to mktemp in libpthread
2013-01-16 15:57:11 +01:00
Siddhesh Poyarekar
f93a8d1569
Consolidate constant defines into mpa.h
2013-01-16 16:06:48 +05:30
Siddhesh Poyarekar
dd930cc571
Fix the value of TWO
2013-01-16 14:53:53 +05:30
David S. Miller
1aa6176780
Optimize trunc{,f} on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
trunc{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
* sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
2013-01-16 00:00:54 -08:00
David S. Miller
c42d5e9862
Optimize nearbyint{,f} on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
nearbyint{,f} to libm-sysdep_routes.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
* sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
2013-01-15 20:59:54 -08:00
David S. Miller
c19a9f896c
Add missing changelog for previous commit.
2013-01-15 20:56:39 -08:00
Mike Frysinger
357679d2fc
scsi/sg.h: include stddef.h for size_t
...
This header uses size_t but doesn't include stddef.h for it. So when
packages happen to include this before any header that defines size_t,
they get a build failure.
Reviewed-by: Carlos O'Donell <codonell@redhat.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-15 12:56:21 -05:00
David S. Miller
8b954ab9b8
Optimize sparc {ceil,floor}{,f} using vis2 'siam' instruction.
...
* sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
(SPARC_ASM_VIS2_IFUNC): Likewise.
(SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
use of 'siam' instruction.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
new VIS2 routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
* sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
routines to libm-sysdep_routines.
* sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
2013-01-14 21:47:29 -08:00
David S. Miller
65a82e3dd5
Optimize fdim/fdimf on sparc.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
fdim/fdimf to libm-sysdep_routines.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
file.
* sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
* sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
2013-01-14 18:21:59 -08:00
Roland McGrath
66438c3fe1
Fix up log format, wrap a long line.
2013-01-14 09:57:33 -08:00
Siddhesh Poyarekar
2a91b5735a
Minor tweak to mp multiplication
...
Add a local variable to remove extra copies to/from memory in the Z
array.
2013-01-14 21:53:48 +05:30
Siddhesh Poyarekar
1066a53440
Fix code formatting in mpa.c
...
This includes the overridden mpa.c in power4.
2013-01-14 21:53:43 +05:30
Siddhesh Poyarekar
e34ab70550
Remove unnecessary local variable mptwo
2013-01-14 21:23:47 +05:30
Mike Frysinger
aba5e59604
manual: glob flags: fix sorting order
...
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger
e557e9e519
manual: glob flags: mention the GNU extensions
...
The glob flags page reads as if this section is comprehensive when it
is not -- a lot of GNU extensions exist. Point that out in the intro.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:28 -05:00
Mike Frysinger
0428cec91e
manual: glob: document the gl_flags field
...
The More Flags for Globbing section indirectly mentions gl_flags when
talking about GLOB_MAGCHAR. Mention it explicitly when covering the
glob_t types.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-01-13 13:24:27 -05:00
David S. Miller
32fcb36dbf
Add 64-bit VIS3 optimized GMP routines for sparc.
...
* math/Makefile: Recognize gmp-sysdep_routines.
* sysdeps/sparc/sparc64/multiarch/Makefile: Add VIS3 optimized GMP routines
to sysdeps.
* sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
* sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
2013-01-11 23:39:02 -08:00
David S. Miller
4ae4244d4b
Redo sparc 32-bit V9 GMP optimizations with fixed copyrights.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-11 20:53:10 -08:00
David S. Miller
8794a96418
Adjust sparc for Roland's multiarch sysdep directory changes.
...
* sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
Move to...
* sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
Here.
2013-01-11 18:04:10 -08:00
Roland McGrath
6270516e15
Fix multiarch handling in sysdeps generation.
2013-01-11 16:00:49 -08:00
Joseph Myers
6a57d93130
Remove __GLIBC_HAVE_LONG_LONG.
2013-01-11 21:13:25 +00:00
Steve Ellcey
0e8529e94f
2013-01-11 Steve Ellcey <sellcey@mips.com>
...
* elf/elf.h (EF_MIPS_ARCH_32): Fix value.
(EF_MIPS_ARCH_64): Fix value.
(EF_MIPS_ARCH_32R2): New.
(EF_MIPS_ARCH_64R2): New.
2013-01-11 11:20:05 -08:00
H.J. Lu
740b3dbee8
Add --enable-hardcoded-path-in-tests configure option
2013-01-11 07:14:18 -08:00
Andreas Jaeger
c6fe55cf60
Add MSG_FASTOPEN
...
[BZ #15003 ]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.
2013-01-11 11:53:13 +01:00
David S. Miller
9e6919c8ae
Undo receive sparc 32-bit V9 gmp routine commit.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10 21:28:07 -08:00
Roland McGrath
1c9f1a028a
Remove some old cruft variables from configure.
2013-01-10 16:22:45 -08:00
David S. Miller
b9de2dde53
Optimize sparc 32-bit V9 GMP multiply routines.
...
* sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
sparc V9 rather than using V8 code.
* sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
* sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
2013-01-10 16:15:32 -08:00
H.J. Lu
55d984e037
Move localedata ChangeLog entries
2013-01-10 15:14:44 -08:00
Roland McGrath
e7f68ef4bc
Fix whitespace in elf.h MIPS macros.
2013-01-10 14:55:27 -08:00
David S. Miller
5a47cc9cef
Update sparc ULPs for new casin{,h} tests.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-10 14:46:18 -08:00
H.J. Lu
c34521ceac
Support run bug-setlocale1 directly
2013-01-10 14:15:49 -08:00
H.J. Lu
4cf8f2098f
Support run tst-exec and tst-spawn directly
2013-01-10 14:14:55 -08:00
Joseph Myers
828beb132d
Use __extension__ with long long in installed headers.
2013-01-10 20:19:45 +00:00
Roland McGrath
034ed64b2c
typo fix
2013-01-10 09:43:03 -08:00
Joseph Myers
fed0faa1c6
Remove __GNUC__ conditions for "long long" from string.h and wchar.h.
2013-01-10 16:44:59 +00:00
H.J. Lu
1a20cb20ff
Correct _XXX_ILP32_OFFBIG for x32
2013-01-10 08:38:48 -08:00
Siddhesh Poyarekar
7490eb81ae
Fix formatting in mpexp.c
2013-01-10 14:59:18 +05:30
Siddhesh Poyarekar
751b85f795
Make __mpexp_twomm1 an array of doubles
...
Cleanup to get rid of the `number` muck which is not necessary here.
2013-01-10 14:59:18 +05:30
Andreas Schwab
988197f0cc
Define flags for fallocate
2013-01-10 09:59:57 +01:00
David S. Miller
e83d72988d
Sync netinet/tcp.h with upstream Linux kernel.
...
[BZ# 15003]
* sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
TCP_FASTOPEN): Define.
(tcp_repair_opt): New structure.
(TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
enum values.
(TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
(tcp_cookie_transactions): New structure.
2013-01-09 23:04:32 -08:00
Anton Blanchard
d5e0b9bd6e
PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
2013-01-09 20:30:11 -06:00
Joseph Myers
0c07e3eaa7
Remove __USE_ANSI.
2013-01-10 02:27:25 +00:00
Roland McGrath
ad98e30c90
Force getconf.speclist to be generated in the others pass.
2013-01-09 16:05:32 -08:00
Roland McGrath
232f700292
Remove unused macro ALLOCA_LIMIT.
2013-01-09 15:58:25 -08:00
Siddhesh Poyarekar
b5792741c8
Update s390 ULPs
2013-01-09 21:03:06 +05:30
Siddhesh Poyarekar
47cf227845
Update powerpc ULPs
2013-01-09 21:01:48 +05:30
Siddhesh Poyarekar
950c99ca90
Update comments in mpa.c
...
Fixed comment style and clearer wording in some cases.
2013-01-09 19:07:15 +05:30
Siddhesh Poyarekar
3a235abb5a
Fix ChangeLog formatting
...
A couple of places used spaces instead of a tab.
2013-01-09 19:04:13 +05:30
Joseph Myers
eede9df980
Don't check __GNUC__ together with __USE_EXTERN_INLINES.
2013-01-08 20:08:56 +00:00
Andreas Jaeger
c40ea3d9a3
BZ#14985: Remove erroneous EPOLL_NONBLOCK
...
[BZ# 14985]
* sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
* sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
* sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK):
Likewise.
ChangeLog.mips:
[BZ# 14985]
* sysdeps/unix/sysv/linux/mips/bits/epoll.h (EPOLL_NONBLOCK):
* Remove.
ChangeLog.hppa:
[BZ# 14985]
* sysdeps/unix/sysv/linux/hppa/sys/epoll.h (EPOLL_NONBLOCK):
Remove.
ChangeLog.alpha:
[BZ# 14985]
* sysdeps/unix/sysv/linux/alpha/bits/epoll.h (EPOLL_NONBLOCK):
Remove.
2013-01-08 19:32:00 +01:00
Anton Blanchard
2ccdea26f2
Fix spelling errors in sysdeps/powerpc files.
2013-01-07 11:20:53 -06:00
Joseph Myers
375607b9cc
Clean up __MALLOC_* macros.
2013-01-07 15:00:47 +00:00
Joseph Myers
a9708fed77
Fix casinh, casin overflow (bug 14996).
2013-01-07 14:59:53 +00:00
H.J. Lu
afec409af9
Change __x86_64 prefix in cache size to __x86
2013-01-05 16:00:38 -08:00
David S. Miller
0b3986d0dc
Update Sparc ULPs.
...
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-01-04 13:20:26 -08:00
Andreas Schwab
d643bac1f7
Fix warnings in test-powerpc-snan.c
2013-01-04 19:04:08 +01:00
Andreas Schwab
e47686e960
Update powerpc libm ULPs
2013-01-04 18:53:13 +01:00
Siddhesh Poyarekar
fffb407f46
Remove unused __cr and __cpymn
2013-01-04 22:52:12 +05:30
Siddhesh Poyarekar
b18decba11
Fix build failure on power4 processors
...
The power4-specific mpa.c depended on some global variables that were
removed by earlier patches. Also, it did not define mpone and mptwo.
2013-01-04 22:05:49 +05:30
Joseph Myers
cdc1c96fba
Fix casinh, casin inaccuracy from cancellation (bug 14994).
2013-01-04 13:25:17 +00:00
Siddhesh Poyarekar
6420d207bb
Fix code formatting
2013-01-04 15:57:13 +05:30
Siddhesh Poyarekar
a9e48ab40e
Clean up comment for MP_NO
2013-01-04 15:42:09 +05:30
Siddhesh Poyarekar
b783726459
Remove some commented code
2013-01-04 15:30:34 +05:30
Siddhesh Poyarekar
f8af25d218
Remove commented declarations
2013-01-04 15:10:00 +05:30
Siddhesh Poyarekar
302913e17e
Remove argument variable name from function declaration
2013-01-04 14:54:46 +05:30
H.J. Lu
5d7dd1ca84
Add HAS_RTM
2013-01-03 09:38:20 -08:00
Andreas Schwab
2f5f40f465
mtrace: properly handle realloc (p, 0)
2013-01-03 11:18:04 +01:00
Andreas Jaeger
4056f4a03a
Add new Interlingua translation
2013-01-03 10:07:43 +01:00
Andreas Jaeger
ab15736ffc
Fix formatting
2013-01-03 10:06:51 +01:00
Allan McRae
fd80f0b7a1
Fix "localedef --posix" description
2013-01-03 18:00:47 +10:00
Joseph Myers
e6898b8d92
Update miscellaneous copyright dates.
2013-01-02 19:43:40 +00:00
Joseph Myers
0e2f956295
Fix copyright notice corruption from update-copyright bug.
2013-01-02 19:28:45 +00:00
Joseph Myers
568035b787
Update copyright notices with scripts/update-copyrights.
2013-01-02 19:05:09 +00:00
Siddhesh Poyarekar
0f5477af5d
Fix values in __mpexp_twomm1
2013-01-02 17:43:35 +05:30
Siddhesh Poyarekar
44e0d4c20c
Split mantissa calculation loop and add branch prediction
2013-01-02 11:44:13 +05:30
Siddhesh Poyarekar
4d55b4e596
Add assert for potential access beyond array bounds in m1np
...
The mpexp code has an access into m1np:
for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; }
which could break for p >= 18 or i >= 7. Fortunately this code is
never called due to the way the exp function is implemented since
values having exponent less than -55 return 1.0. Make sure that if it
gets called in future, it is trapped.
2013-01-02 11:33:11 +05:30
Siddhesh Poyarekar
da08f647d5
Move more constants into static variables
...
Code cleanup.
2013-01-02 10:07:50 +05:30
Siddhesh Poyarekar
38686a0363
Fix ChangeLog entry
2013-01-02 09:55:00 +05:30
David S. Miller
8e05102923
Update Catalan translations.
...
* po/ca.po: Update from translation team.
2013-01-01 17:28:13 -08:00
Joseph Myers
f4cf5f2d8b
Add script to update copyright notices and reformat some to facilitate its use.
2013-01-01 16:29:10 +00:00
David S. Miller
a141f1a732
Update French translation.
...
* po/fr.po: Update from translation team.
2013-01-01 00:51:00 -08:00
David S. Miller
0549fbba96
Update copyright years.
...
* catgets/gencat.c: Update copyright year.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/pcprofiledump.c: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldconfig.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/pldd.c: Likewise.
* elf/sotruss.ksh: Likewise.
* elf/sprof.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* login/programs/pt_chown.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/memusagestat.c: Likewise.
* malloc/mtrace.pl: Likewise.
* nscd/nscd.c: Likewise.
* nss/getent.c: Likewise.
* nss/makedb.c: Likewise.
* posix/getconf.c: Likewise.
2013-01-01 00:11:43 -08:00
Siddhesh Poyarekar
18ea052c3e
Favour normal numbers
2012-12-31 16:05:13 +05:30
Mike Frysinger
9c89fca6e0
math: use existing nonnull attribute define
...
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-30 13:00:13 -05:00
Siddhesh Poyarekar
085ec079e3
Demystify the magic number 134217729.0
...
The number 134217729.0 gets used in various places in e_pow.c but
there is no explanation of what that number is. Add that explanation.
2012-12-29 06:56:04 +05:30
Siddhesh Poyarekar
d63f73be34
Remove unnecessary variable mptwoim1
...
Code cleanup.
2012-12-28 19:02:01 +05:30
Siddhesh Poyarekar
6d9f97e1f2
Replace more constants with their values
...
Code cleanup.
2012-12-28 18:53:17 +05:30
Pino Toscano
2f216c3ce8
ChangeLog: add missing typo
2012-12-28 13:37:00 +01:00
Andreas Jaeger
af5843efa0
Add values from Linux 3.7 to <elf.h>
2012-12-28 13:06:01 +01:00
Andreas Jaeger
4c4febf544
Add new defines from Linux 3.7 to <netinet/tcp.h>
2012-12-28 12:59:33 +01:00
Siddhesh Poyarekar
91998e449e
Add __glibc_likely as an alias for __builtin_expect when available
2012-12-28 11:53:01 +05:30
Siddhesh Poyarekar
99136f8202
Replace constants with preprocessor defines
...
libm Code cleanup.
2012-12-28 09:40:10 +05:30
2012-12-27 Bruno Haible
7fffbdfff7
BZ#14317: Optimze __xpg_strerror_r
...
[BZ #14317 ]
* string/xpg-strerror.c (__xpg_strerror_r): Optimize, call
strlen only if needed.
2012-12-27 22:37:39 +01:00
Siddhesh Poyarekar
31a7fe5ca9
Remove redundant __mpexp_nn
...
It's an array that stores integral float values of the offset.
2012-12-27 20:43:55 +05:30
Siddhesh Poyarekar
b76eb5f076
Move mpone out to a global const
...
Code cleanup.
2012-12-27 20:43:24 +05:30
David S. Miller
2c8bfe7d6f
Open development for 2.18.
...
* version.h (RELEASE): Set to "development".
(VERSION): Set to "2.17.90".
* NEWS: Add 2.18 section.
2012-12-25 01:23:43 -08:00
David S. Miller
147d03b01c
Update Croatian translations.
...
* po/hr.po: Update from translation team.
2012-12-21 12:22:48 -08:00
Andreas Krebbel
a8ebb2b9d2
S/390: Update libm-test-ulps.
2012-12-21 06:24:27 +01:00
Steve Ellcey
b2d9400744
Remove trailing space.
2012-12-19 08:57:50 -08:00
Steve Ellcey
95b4f1b626
2012-12-19 Steve Ellcey <sellcey@mips.com>
...
* NEWS: Mention new memcpy for MIPS.
2012-12-19 08:56:08 -08:00
Marcus Shawcroft
cedb2a909d
Fix AArch64 typo.
2012-12-18 09:51:55 +00:00
David S. Miller
bbf527d678
Update Russian translations.
...
* po/ru.po: Update from translation team.
2012-12-15 15:30:31 -08:00
David S. Miller
85429b1a8f
Mention IFUNC enhancements to testsuite in NEWS.
...
* NEWS: Mention IFUNC testsuite enhancements.
2012-12-13 15:40:06 -05:00
David S. Miller
d283e35378
Update Polish and Bulgarian translations.
...
* po/pl.po: Update from translation team.
* po/bg.po: Likewise.
2012-12-13 15:19:42 -05:00
David S. Miller
bc38c90626
Update manual/contrib.texi
...
* manual/contrib.texi (Contributors): Update entries for Hongjiu
Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2012-12-13 15:02:00 -05:00
David S. Miller
4641d57e1e
Update Swedish translations.
...
* po/sv.po: Update from translation team.
2012-12-12 02:21:39 -05:00
David S. Miller
f7bc6495a9
Update Vietnamese translations.
...
* po/vi.po: Update from translation team.
2012-12-12 01:55:56 -05:00
David S. Miller
6fc9048f19
Update Czech PO file.
...
* po/cs.po: Update from translation team.
2012-12-11 13:59:14 -05:00
David S. Miller
a181b0d733
Update German, Dutch, and Esperanto translations.
...
* po/de.po: Update from translation team.
* po/eo.po: Likewise.
* po/nl.po: Likewise.
2012-12-11 12:56:04 -05:00
Siddhesh Poyarekar
3c8b4190fe
Move node Argp Helper Functions to follow Argp Parsing State
...
Resolves BZ #14246 .
2012-12-11 09:02:37 +05:30
Siddhesh Poyarekar
f70bfe80e2
Mention if terminating null is included in NAME_MAX/PATH_MAX
...
Fixes BZ #14872 .
2012-12-11 09:01:02 +05:30
Andreas Jaeger
188f0adf70
Update cs translations
2012-12-10 20:57:18 +01:00
Richard Henderson
7e9da188a1
Mark BZ#10114 as fixed.
2012-12-10 07:50:42 -08:00
Siddhesh Poyarekar
56e7d3ad5c
Fix some build warnings on s390x
2012-12-08 13:03:24 +05:30
Siddhesh Poyarekar
76f2d2ea7b
Minor ChangeLog formatting fix
2012-12-08 13:00:00 +05:30
Benno Schulenberg
c430c4afd6
BZ #14833 : message.texi typo fixes
2012-12-08 12:35:35 +05:30
Andreas Schwab
67cbf9a2a9
[BZ #14898 ]
...
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
Change to -1.
2012-12-07 14:55:19 -07:00
David S. Miller
682d0e9ae8
Update libc.pot in preparation for giving tarball to translation project.
...
* po/libc.pot: Update.
2012-12-07 15:13:31 -05:00
Richard Henderson
573cd4843a
soft-fp: Fix used without set warning in _FP_MUL and _FP_DIV
...
Seen in, e.g. ports/sysdeps/alpha/soft-fp/ots_mul.c.
The problem here is we have a switch on the class of X*Y, followed by
a switch on the class of R. The exponent field of R really is not set
by the first switch for NaN outputs, because we know it's not going to
be used. The compiler is not smart enough to see through this.
By pulling the exponent computation out of the NORMAL*NORMAL path, we
will not be pessimizing the most common case, while still providing an
arbitrary value to satisfy the compiler.
2012-12-07 13:17:08 -06:00
Mike Frysinger
e933a9432c
linux: posix_fadvise: support __NR_fadvise64_64
...
Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64.
If the former is unavailable, fallback to the latter.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-06 20:00:43 -05:00
Chris Metcalf
82123268ac
Fix warnings from generic _FPU_GETCW
2012-12-06 10:42:06 -05:00
Joseph Myers
d981452619
Change sources.redhat.com references to sourceware.org.
2012-12-06 15:32:46 +00:00
Siddhesh Poyarekar
5704bbcb47
Fix the order of my ChangeLog entries
2012-12-06 20:46:18 +05:30
Siddhesh Poyarekar
f16946dd9c
Fix "set but not used" warnings for powerpc64
2012-12-06 20:20:45 +05:30
Siddhesh Poyarekar
7728c57488
Add newline to last test in stdio-common/tst-put-error.c
...
The newline ensures that the buffer is flushed and the test executes
as expected.
2012-12-06 11:10:18 +05:30
Jeff Law
17aa0516c8
* sunrpc/etc.rpc (fedfs_admin): Add entry.
2012-12-05 19:45:23 -07:00
Joseph Myers
effbd42a77
Ports-related README updates.
2012-12-05 22:15:52 +00:00
Joseph Myers
8760036569
Expand LICENSES file.
2012-12-05 21:56:15 +00:00
Joseph Myers
a0d7066a1c
Fix "set but not used" warnings for X##_s in soft-fp.
2012-12-05 20:04:32 +00:00
Joseph Myers
66ca5a5b93
Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.
2012-12-05 20:03:45 +00:00
Joseph Myers
363313b5be
Increase width of padded output in stdio-common/tst-put-error.
2012-12-05 20:02:41 +00:00
Joseph Myers
9003570a49
Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.
2012-12-04 21:45:01 +00:00
Joseph Myers
b37984ad36
Fix ldbl-128ibm "set but not used" warnings.
2012-12-04 21:19:17 +00:00
David S. Miller
c8df52eccf
Fix sparc build with older compilers.
...
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
2012-12-04 16:05:57 -05:00
Joseph Myers
c33aa6e3e3
Fix "conflicting types for built-in function" warnings from nldbl-*.c.
2012-12-04 20:22:08 +00:00
Joseph Myers
20f0018d92
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
2012-12-04 14:40:17 +00:00
Joseph Myers
b3b099af03
Fix powl inaccuracy for ldbl-128ibm (bug 14914).
2012-12-04 14:39:24 +00:00
Allan McRae
029264d1fb
Remove @hsep and @vsep usage from info pages
...
These cause an error when the info pages are build with texinfo>=4.13.90.
2012-12-04 09:39:34 +10:00
Mike Frysinger
c9d6789ebe
byteswap.h: fix gcc ver test for __builtin_bswap{32,64}
...
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2.
Fix the __GNUC_PREREQ tests to reflect this.
Otherwise trying to compile code with gcc-4.2 falls down:
In file included from /usr/include/endian.h:60,
from /usr/include/ctype.h:40,
/usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-03 14:54:31 -05:00
Jeff Law
4b7634a5e0
* time/sys/time.h (settimeofday): Do not mark TV argument
...
as __nonnull.
2012-12-03 12:15:17 -07:00
Mike Frysinger
eb6cbd249f
[BZ #12724 ] libio: revert partial POSIX 2008 fclose support
...
In BZ #12724 , partial support for POSIX 2008 fclose behavior was added.
Since it isn't entirely conforming to the spec, some applications are
known to be breaking in this intermediate state. So revert the partial
support until we can get things fully implemented.
This reverts commit fcabc0f8b1
.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-12-01 21:37:52 -05:00
Joseph Myers
f638872ab4
Fix typos in arith.texi.
2012-12-01 00:14:58 +00:00
Roland McGrath
48085d142e
Fix type-punning warning in powerpc64 gmon-start.
2012-11-30 13:48:39 -08:00
Siddhesh Poyarekar
1a538b9f15
* sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
...
* include/rpc/svc.h: ... here.
2012-11-30 13:53:44 -07:00
Andreas Schwab
d07f2ff1a6
Fix date in ChangeLog entry
2012-11-30 21:28:28 +01:00
Aurelien Jarno
cc8bb21c8a
Fix assertion failures in resolver (BZ #13013 ).
...
[BZ #13013 ]
* resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
depending n and resplen2 to catch cases where answer
equals answerp2.
2012-11-30 15:04:27 -05:00
Carlos O'Donell
c93ec1f091
Warn about unsupported DT_FLAGS_1 flags.
...
The dynamic loader will now warn about unsupported DT_FLAGS_1
flags when run with LD_DEBUG=files or LD_DEBUG=all.
2012-11-29 18:12:23 -08:00
Mike Frysinger
37db69de1d
clock_getcpuclockid: delete unused HAS_CPUCLOCK
...
In commit 26889eacc2
(Remove
__ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were
dropped. Punt the fallback definition too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-11-29 19:31:40 -05:00
Carlos O'Donell
f06cc227e2
Update ChangeLog and NEWS for BZ #14197 .
2012-11-29 14:51:49 -08:00