external/glibc.git
11 years agoFix spurious underflow exceptions for Bessel functions for ldbl-128 / ldbl-128ibm...
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).

11 years agoMove "-sNaN" value into a separate variable.
Thomas Schwinge [Fri, 15 Mar 2013 16:41:11 +0000 (17:41 +0100)]
Move "-sNaN" value into a separate variable.

11 years agoClean up _dl_pagesize initialization.
Roland McGrath [Fri, 15 Mar 2013 21:35:17 +0000 (14:35 -0700)]
Clean up _dl_pagesize initialization.

11 years agoMove _dl_non_dynamic_init, _dl_aux_init declarations.
Roland McGrath [Fri, 15 Mar 2013 21:32:04 +0000 (14:32 -0700)]
Move _dl_non_dynamic_init, _dl_aux_init declarations.

11 years ago * math/libm-test.inc (ldexp_test): Add missing START/END markers.
Thomas Schwinge [Fri, 8 Mar 2013 08:50:38 +0000 (09:50 +0100)]
* math/libm-test.inc (ldexp_test): Add missing START/END markers.

11 years agoPromote a math test for sNaN handling to the top-level.
Thomas Schwinge [Thu, 28 Feb 2013 21:38:23 +0000 (22:38 +0100)]
Promote a math test for sNaN handling to the top-level.

11 years agoUse GCC's builtins for generating NaNs.
Thomas Schwinge [Thu, 28 Feb 2013 21:30:18 +0000 (22:30 +0100)]
Use GCC's builtins for generating NaNs.

11 years agoAdd one test, removed a duplicated one, add a few comments about missing tests.
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.

11 years agoBetter distinguish between NaN/qNaN/sNaN.
Thomas Schwinge [Thu, 28 Feb 2013 16:12:25 +0000 (17:12 +0100)]
Better distinguish between NaN/qNaN/sNaN.

11 years agoEnable tests for x86_64, too, which currently are enabled only for x86.
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.

11 years agoFix copy'n'pastos.
Thomas Schwinge [Thu, 28 Feb 2013 12:03:37 +0000 (13:03 +0100)]
Fix copy'n'pastos.

11 years agoRemove unused declarations.
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.

11 years agoAvoid duplicate MAP_ANONYMOUS definition for MIPS GNU/Linux.
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.

11 years agoRevert configurable mantissa patch
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.

11 years agoReverting wrong commit.
Adhemerval Zanella [Fri, 15 Mar 2013 17:38:20 +0000 (14:38 -0300)]
Reverting wrong commit.

Restore sysdeps/gnu/configure wrongly modified on
ef26eece6331a1f6d959818e37c438cc7ce68e53.

11 years agoARM: sfi_sp assembler macro
Roland McGrath [Fri, 15 Mar 2013 16:32:16 +0000 (09:32 -0700)]
ARM: sfi_sp assembler macro

11 years agoARM: sfi_breg assembler macro
Roland McGrath [Fri, 15 Mar 2013 16:31:56 +0000 (09:31 -0700)]
ARM: sfi_breg assembler macro

11 years agoPowerPC: gettimeofday optimization by using IFUNC
Adhemerval Zanella [Fri, 15 Mar 2013 13:58:56 +0000 (10:58 -0300)]
PowerPC: gettimeofday optimization by using IFUNC

11 years agoFramework for performance benchmarking of functions
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.

11 years agoMake mantissa type configurable
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.

11 years agoModify threads in nptl cindex to pthreads
Siddhesh Poyarekar [Fri, 15 Mar 2013 03:58:54 +0000 (09:28 +0530)]
Modify threads in nptl cindex to pthreads

11 years agoRegenerate sysdeps/x86_64/preconfigure.
Joseph Myers [Fri, 15 Mar 2013 01:18:32 +0000 (01:18 +0000)]
Regenerate sysdeps/x86_64/preconfigure.

11 years agoFix spurious underflow exceptions for Bessel functions for double (bug 14155).
Joseph Myers [Thu, 14 Mar 2013 17:47:30 +0000 (17:47 +0000)]
Fix spurious underflow exceptions for Bessel functions for double (bug 14155).

11 years agoaarch64: use lib64 as default lib and slib directory
Andreas Schwab [Fri, 8 Feb 2013 18:17:58 +0000 (19:17 +0100)]
aarch64: use lib64 as default lib and slib directory

11 years agoAdd nptl manual chapter
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.

11 years agoFix formatting in last change
Siddhesh Poyarekar [Thu, 14 Mar 2013 02:48:48 +0000 (08:18 +0530)]
Fix formatting in last change

11 years agoFix __times() handling of EFAULT when buf is NULL
Petr Baudis [Thu, 14 Mar 2013 00:16:53 +0000 (01:16 +0100)]
Fix __times() handling of EFAULT when buf is NULL

11 years agoARM_BX_ALIGN_LOG2
Roland McGrath [Wed, 13 Mar 2013 19:36:53 +0000 (12:36 -0700)]
ARM_BX_ALIGN_LOG2

11 years agoARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.
Roland McGrath [Wed, 13 Mar 2013 16:51:37 +0000 (09:51 -0700)]
ARM: Handle ARM_ALWAYS_BX in {add,sub}_n.S code.

11 years agoARM: Support avoiding pc as destination register.
Roland McGrath [Wed, 13 Mar 2013 16:40:55 +0000 (09:40 -0700)]
ARM: Support avoiding pc as destination register.

11 years agoDon't build .os objects of static-only-routines for extra libs
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

11 years agoInclude atomic.h in generic lowlevellock.c.
Carlos O'Donell [Wed, 13 Mar 2013 03:23:01 +0000 (23:23 -0400)]
Include atomic.h in generic lowlevellock.c.

11 years agoUpdate zic from tzcode 2013b.
Joseph Myers [Wed, 13 Mar 2013 01:54:00 +0000 (01:54 +0000)]
Update zic from tzcode 2013b.

11 years agoRemove mention of i386-pc-linux-gnu.
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.

11 years agoARM: Make armv6t2 memchr implementation usable without Thumb.
Roland McGrath [Tue, 12 Mar 2013 17:03:56 +0000 (10:03 -0700)]
ARM: Make armv6t2 memchr implementation usable without Thumb.

11 years agoARM: Change register allocation in armv6t2 memchr implementation.
Roland McGrath [Tue, 12 Mar 2013 17:00:53 +0000 (10:00 -0700)]
ARM: Change register allocation in armv6t2 memchr implementation.

11 years agoAdd sysdeps/init_array to produce empty crt[in].o and use .preinit_array for gcrt1.o
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

11 years agoFix up log entry.
Roland McGrath [Tue, 12 Mar 2013 19:49:13 +0000 (12:49 -0700)]
Fix up log entry.

11 years agoia64: fix set-but-unused warnings with syscalls
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>
11 years agoia64: fix strict aliasing warnings with libm error
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>
11 years agoia64: fix strict aliasing warnings with func descriptors
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>
11 years agoAdd comments about ARM configure -fno-unwind-tables handling.
Joseph Myers [Mon, 11 Mar 2013 23:55:55 +0000 (23:55 +0000)]
Add comments about ARM configure -fno-unwind-tables handling.

11 years agoARM: Consolidate setjmp details in include/bits/setjmp.h file.
Roland McGrath [Mon, 11 Mar 2013 23:45:25 +0000 (16:45 -0700)]
ARM: Consolidate setjmp details in include/bits/setjmp.h file.

11 years agoARM: Convert string/ assembly to unified syntax.
Roland McGrath [Mon, 11 Mar 2013 23:44:31 +0000 (16:44 -0700)]
ARM: Convert string/ assembly to unified syntax.

11 years agoARM: Use r10 instead of r9.
Roland McGrath [Mon, 11 Mar 2013 17:57:55 +0000 (10:57 -0700)]
ARM: Use r10 instead of r9.

11 years agoAM33: Use <bits/mman.h>
Andreas Jaeger [Mon, 11 Mar 2013 18:57:48 +0000 (19:57 +0100)]
AM33: Use <bits/mman.h>

11 years agoUse <bits/mman.h> on ia64
Andreas Jaeger [Mon, 11 Mar 2013 18:56:44 +0000 (19:56 +0100)]
Use <bits/mman.h> on ia64

11 years agoClean up ARM preconfigure.
Roland McGrath [Mon, 11 Mar 2013 16:26:43 +0000 (09:26 -0700)]
Clean up ARM preconfigure.

11 years agoRemove Prefer_SSE_for_memop on x64
Ondrej Bilka [Mon, 11 Mar 2013 14:39:08 +0000 (15:39 +0100)]
Remove Prefer_SSE_for_memop on x64

11 years agoRemove extra pthread_atfork compat symbols
Andreas Schwab [Tue, 5 Mar 2013 09:54:01 +0000 (10:54 +0100)]
Remove extra pthread_atfork compat symbols

11 years agoia64: makecontext: fix signed warnings
Mike Frysinger [Sun, 10 Mar 2013 22:53:15 +0000 (22:53 +0000)]
ia64: makecontext: fix signed warnings

The ia64_rse_is_rnat_slot func expects an unsigned pointer, but we're
passing in a signed pointer.  The signness doesn't matter here, so
convert it to unsigned.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoia64: fix NEED_DL_SYSINFO_DSO conditionals
Mike Frysinger [Sun, 10 Mar 2013 11:48:40 +0000 (11:48 +0000)]
ia64: fix NEED_DL_SYSINFO_DSO conditionals

The recent change to clean up these defines missed the ia64 logic.
Update it accordingly.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years agoSet LC_ALL=C before sed.
Paul Pluzhnikov [Sat, 9 Mar 2013 04:31:23 +0000 (20:31 -0800)]
Set LC_ALL=C before sed.

11 years agoAdd dependency tracking for preconfigure files.
Roland McGrath [Fri, 8 Mar 2013 22:31:33 +0000 (14:31 -0800)]
Add dependency tracking for preconfigure files.

11 years agoRemove __malloc_ptr_t.
Joseph Myers [Fri, 8 Mar 2013 21:27:42 +0000 (21:27 +0000)]
Remove __malloc_ptr_t.

11 years agoUse ISO C prototype for __default_morecore.
Joseph Myers [Fri, 8 Mar 2013 16:47:43 +0000 (16:47 +0000)]
Use ISO C prototype for __default_morecore.

11 years agoRemove __malloc_ptrdiff_t.
Joseph Myers [Fri, 8 Mar 2013 16:46:45 +0000 (16:46 +0000)]
Remove __malloc_ptrdiff_t.

11 years agoRemove __malloc_size_t.
Joseph Myers [Fri, 8 Mar 2013 16:46:07 +0000 (16:46 +0000)]
Remove __malloc_size_t.

11 years agoPowerPC: unify math_ldbl.h implementations
Adhemerval Zanella [Fri, 8 Mar 2013 14:07:15 +0000 (11:07 -0300)]
PowerPC: unify math_ldbl.h implementations

This patch removes redudant definition from PowerPC specific
math_ldbl, using the definitions from ieee754 math_ldbl.h.

11 years agoConsolidate copies of mp code in powerpc
Siddhesh Poyarekar [Fri, 8 Mar 2013 06:08:41 +0000 (11:38 +0530)]
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.

11 years agoarm: Implement armv6 optimized string routines
Richard Henderson [Thu, 7 Mar 2013 17:07:51 +0000 (09:07 -0800)]
arm: Implement armv6 optimized string routines

The strcpy and strchr (and related) functions are four times faster
than the byte-by-byte default versions.

The strlen function is twice as fast for long strings and 50% faster
for short strings over the armv4 version.

11 years agoAARCH64: Use <bits/mman-linux.h>
Andreas Jaeger [Thu, 7 Mar 2013 14:28:54 +0000 (15:28 +0100)]
AARCH64: Use <bits/mman-linux.h>

* sysdeps/unix/sysv/linux/aarch64/bits/mman.h: Remove all
defines provided by bits/mman-linux.h and include <bits/mman-linux.h>.

11 years agoInstall <bits/mman-linux.h>
Andreas Jaeger [Thu, 7 Mar 2013 12:06:20 +0000 (13:06 +0100)]
Install <bits/mman-linux.h>

* sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
bits/mman-linux.h.

11 years agoMerge powerpc slowexp.c into generic code
Siddhesh Poyarekar [Thu, 7 Mar 2013 07:55:02 +0000 (13:25 +0530)]
Merge powerpc slowexp.c into generic code

11 years agoMerge powerpc slowpow.c into generic code
Siddhesh Poyarekar [Thu, 7 Mar 2013 07:53:07 +0000 (13:23 +0530)]
Merge powerpc slowpow.c into generic code

11 years agoUse an intermediate variable to sum exponents in powerpc __mul and __sqr
Siddhesh Poyarekar [Thu, 7 Mar 2013 07:48:56 +0000 (13:18 +0530)]
Use an intermediate variable to sum exponents in powerpc __mul and __sqr

11 years agoUse generic mpa.c code for everything except __mul and __sqr
Siddhesh Poyarekar [Thu, 7 Mar 2013 06:53:29 +0000 (12:23 +0530)]
Use generic mpa.c code for everything except __mul and __sqr

11 years agoRemove PIPE_BUF Linux-specific code
Siddhesh Poyarekar [Thu, 7 Mar 2013 06:45:08 +0000 (12:15 +0530)]
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.

11 years agoRevert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation"
Ondrej Bilka [Wed, 6 Mar 2013 21:27:18 +0000 (22:27 +0100)]
Revert " * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation"

This reverts commit b79188d71716b6286866e06add976fe84100595e.

11 years ago * sysdeps/x86_64/strlen.S: Replace with new SSE2 based implementation
Ondrej Bilka [Wed, 6 Mar 2013 20:41:32 +0000 (21:41 +0100)]
* 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.

11 years agoT_REMOVEDIR and AT_EACCESS have the same value.
Patsy Franklin [Wed, 6 Mar 2013 17:54:10 +0000 (12:54 -0500)]
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.

11 years agoUse <bits/mman-linux.h> for MIPS
Andreas Jaeger [Wed, 6 Mar 2013 16:36:37 +0000 (17:36 +0100)]
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.

11 years agoarm: Add optimized add_n and sub_n
Richard Henderson [Wed, 27 Feb 2013 00:17:51 +0000 (16:17 -0800)]
arm: Add optimized add_n and sub_n

Written from scratch rather than copied from GMP, due to LGPL 2.1 vs
GPL 3, but tested with the GMP testsuite.

This is 250% faster than the generic code as measured on Cortex-A15,
and the same speed as GMP on the same core, and probably everywhere.

11 years agoarm: Add optimized submul_1
Richard Henderson [Tue, 26 Feb 2013 23:49:51 +0000 (15:49 -0800)]
arm: Add optimized submul_1

Written from scratch rather than copied from GMP, due to LGPL 2.1 vs
GPL 3, but tested with the GMP testsuite.

This is 50% faster than the generic code as measured on Cortex-A15.
It is 25% slower than the current GMP routine on the same core.

11 years agoarm: Add optimized addmul_1
Richard Henderson [Tue, 26 Feb 2013 23:45:57 +0000 (15:45 -0800)]
arm: Add optimized addmul_1

Written from scratch rather than copied from GMP, due to LGPL 2.1 vs
GPL 3, but tested with the GMP testsuite.

This is 25% faster than the generic code as measured on Cortex-A15,
and the same speed as GMP on the same core.  It's probably slower
than GMP on the A8 and A9 cores though.

11 years agoarm: Add optimized ffs for armv6t2
Richard Henderson [Wed, 13 Feb 2013 20:06:42 +0000 (12:06 -0800)]
arm: Add optimized ffs for armv6t2

11 years agoarm: Implement hard-tp for GET_TLS
Richard Henderson [Fri, 1 Mar 2013 05:37:02 +0000 (21:37 -0800)]
arm: Implement hard-tp for GET_TLS

11 years agoarm: Tidy architecture selection
Richard Henderson [Wed, 27 Feb 2013 21:33:09 +0000 (13:33 -0800)]
arm: Tidy architecture selection

11 years agoarm: Unless arm4t, pop return address directly into pc
Richard Henderson [Fri, 15 Feb 2013 06:15:55 +0000 (22:15 -0800)]
arm: Unless arm4t, pop return address directly into pc

11 years agoarm: Commonize BX conditionals
Richard Henderson [Fri, 15 Feb 2013 05:45:50 +0000 (21:45 -0800)]
arm: Commonize BX conditionals

Add BLX macro in addition and use it where appropriate.

11 years agoarm: Delete LOADREGS macro
Richard Henderson [Fri, 15 Feb 2013 05:17:19 +0000 (21:17 -0800)]
arm: Delete LOADREGS macro

There was only one user.  It's "condition" argument was used
for "ia" rather than an actual condition.  The apcs26 syntax
is almost certainly not needed, given current binutils requirements.

11 years agoarm: Use push/pop mnemonics
Richard Henderson [Fri, 15 Feb 2013 05:00:14 +0000 (21:00 -0800)]
arm: Use push/pop mnemonics

For arm this makes no difference--the result is bit-for-bit identical;
for thumb this results in smaller encodings.  Perhaps it ought not and
this is in fact an assembler bug, but I also think it's clearer.

11 years agoarm: Enable thumb2 mode in assembly files
Richard Henderson [Thu, 14 Feb 2013 18:32:04 +0000 (10:32 -0800)]
arm: Enable thumb2 mode in assembly files

The preceeding patches have allowed for the few incompatibilities
between arm and thumb2 mode, or have marked the file as not wanting
to use thumb2 mode.

11 years agoarm: Introduce and use GET_TLS
Richard Henderson [Thu, 14 Feb 2013 04:10:45 +0000 (20:10 -0800)]
arm: Introduce and use GET_TLS

Factor out the sequence needed to call kuser_get_tls, as we can't
play subtract into pc games in thumb mode.  Prepare for hard-tp,
pulling the save of LR into the macro.

11 years agoarm: Introduce and use NEGOFF series of macros
Richard Henderson [Thu, 14 Feb 2013 17:46:56 +0000 (09:46 -0800)]
arm: Introduce and use NEGOFF series of macros

There are several places in which we access negative offsets from
the thread-pointer, but thumb2 only supports positive offsets in
memory references.

Avoid duplicating the rather large macros in which these references
are embedded by abstracting out the operation.

11 years agoarm: Introduce and use LDST_PCREL
Richard Henderson [Thu, 14 Feb 2013 05:21:39 +0000 (21:21 -0800)]
arm: Introduce and use LDST_PCREL

Macro-ising the few instances where we need to distinguish between
arm and thumb pc-relative memory operations.

11 years agoRemove MAP_GROWSUP on s390
Andreas Jaeger [Wed, 6 Mar 2013 15:39:56 +0000 (16:39 +0100)]
Remove MAP_GROWSUP on s390

* sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP):
Remove, it's not part of Linux headers.

11 years agoSync with Linux 3.8
Andreas Jaeger [Wed, 6 Mar 2013 15:35:19 +0000 (16:35 +0100)]
Sync with Linux 3.8

11 years agoUpdate date of last entry
Andreas Jaeger [Wed, 6 Mar 2013 15:29:43 +0000 (16:29 +0100)]
Update date of last entry

11 years agoUse <bits/mman-linux.h> on M68k
Andreas Jaeger [Wed, 6 Mar 2013 15:28:39 +0000 (16:28 +0100)]
Use <bits/mman-linux.h> on M68k

11 years agoUse <bits/mman-linux.h> on ARM
Andreas Jaeger [Wed, 6 Mar 2013 15:27:24 +0000 (16:27 +0100)]
Use <bits/mman-linux.h> on ARM

11 years agoS/390: Add BZ number to changelog entry and NEWS.
Andreas Krebbel [Wed, 6 Mar 2013 08:57:32 +0000 (09:57 +0100)]
S/390: Add BZ number to changelog entry and NEWS.

11 years agoReplace __builtin_expect(..., 0) with __glibc_unlikely().
Paul Pluzhnikov [Wed, 6 Mar 2013 05:38:19 +0000 (21:38 -0800)]
Replace __builtin_expect(..., 0) with __glibc_unlikely().

11 years agoRemove powerpc64 bounded-pointers code.
Joseph Myers [Wed, 6 Mar 2013 00:10:21 +0000 (00:10 +0000)]
Remove powerpc64 bounded-pointers code.

11 years ago * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
Paul Pluzhnikov [Tue, 5 Mar 2013 21:44:33 +0000 (13:44 -0800)]
* stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
call free(NULL).

11 years agoUse bits/mman-linux.h for TILE
Andreas Jaeger [Tue, 5 Mar 2013 20:59:58 +0000 (21:59 +0100)]
Use bits/mman-linux.h for TILE

* sysdeps/unix/sysv/linux/tile/bits/mman.h: Remove all defines
provided by bits/mman-linux.h and include <bits/mman-linux.h>.

11 years agoUpdate Spanish PO file from translation team.
David S. Miller [Tue, 5 Mar 2013 19:29:06 +0000 (14:29 -0500)]
Update Spanish PO file from translation team.

* po/es.po: Update from translation team.

11 years agoDefine MCL_CURRENT, MCL_FUTURE in bits/mman-linux.h
Andreas Jaeger [Tue, 5 Mar 2013 18:40:13 +0000 (19:40 +0100)]
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.

11 years agoS/390: Use attribute_hidden in ifunc-resolve.c
Andreas Krebbel [Tue, 5 Mar 2013 12:19:03 +0000 (13:19 +0100)]
S/390: Use attribute_hidden in ifunc-resolve.c

11 years agoS/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.
Andreas Krebbel [Tue, 5 Mar 2013 07:15:33 +0000 (08:15 +0100)]
S/390: Fix rt_sigprocmask syscall invocation in get/set/swapcontext.