platform/upstream/linaro-glibc.git
10 years agoTest sqrt in all rounding modes.
Joseph Myers [Fri, 29 Nov 2013 16:28:47 +0000 (16:28 +0000)]
Test sqrt in all rounding modes.

10 years agoStart generating libm tests automatically with MPFR.
Joseph Myers [Fri, 29 Nov 2013 16:27:55 +0000 (16:27 +0000)]
Start generating libm tests automatically with MPFR.

10 years agoAdd 16214 to NEWS
Siddhesh Poyarekar [Fri, 29 Nov 2013 14:14:42 +0000 (19:44 +0530)]
Add 16214 to NEWS

10 years ago[BZ #16214] S/390: Fix TLS GOT pointer setup.
Andreas Krebbel [Fri, 29 Nov 2013 08:57:04 +0000 (09:57 +0100)]
[BZ #16214] S/390: Fix TLS GOT pointer setup.

10 years agoDocument libm accuracy goals.
Joseph Myers [Thu, 28 Nov 2013 22:31:03 +0000 (22:31 +0000)]
Document libm accuracy goals.

10 years agoRemove unused ldbl-96 functions (bug 15004).
Joseph Myers [Thu, 28 Nov 2013 20:50:03 +0000 (20:50 +0000)]
Remove unused ldbl-96 functions (bug 15004).

10 years agoAdd powerpc-nofpu/e500 support functions for atomic compound assignment and FLT_ROUNDS.
Joseph Myers [Thu, 28 Nov 2013 18:01:41 +0000 (18:01 +0000)]
Add powerpc-nofpu/e500 support functions for atomic compound assignment and FLT_ROUNDS.

10 years agoDocument some libm error handling intents.
Joseph Myers [Thu, 28 Nov 2013 16:52:36 +0000 (16:52 +0000)]
Document some libm error handling intents.

10 years agoFix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).
Joseph Myers [Thu, 28 Nov 2013 16:50:38 +0000 (16:50 +0000)]
Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).

10 years agoGet canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077)
Siddhesh Poyarekar [Thu, 28 Nov 2013 11:48:12 +0000 (17:18 +0530)]
Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077)

AF_INET lookup in hosts file uses _nss_files_gethostbyname2_r, which
is not capable of returning a canonical name if it has found one.
This change adds _nss_files_gethostbyname3_r, which wraps around
_nss_files_gethostbyname2_r and then returns result.h_name as the
canonical name.

10 years agoMake memset in calloc a tail call.
Ondřej Bílka [Thu, 28 Nov 2013 11:03:28 +0000 (12:03 +0100)]
Make memset in calloc a tail call.

10 years agoAdd lang_name to various locales.
Chris Leonard [Wed, 27 Nov 2013 20:52:46 +0000 (15:52 -0500)]
Add lang_name to various locales.

10 years agoMIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIs
Aurelien Jarno [Wed, 27 Nov 2013 13:42:06 +0000 (14:42 +0100)]
MIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIs

Fix the RLIM64_INFINITY constant for O32 and N32 ABIs to match the
kernel one. Change the getrlimit64/setrlimit64 into old compat symbols,
and provide the Linux generic getrlimit64/setrlimit64 functions as
GLIBC_2_19 version.

10 years agoMIPS: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constant
Aurelien Jarno [Wed, 27 Nov 2013 13:42:06 +0000 (14:42 +0100)]
MIPS: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constant

RLIM64_INFINITY was supposed to be a glibc convention rather than
anything seen by the kernel, but it ended being passed to the kernel
through the prlimit64 syscall.  On O32 and N32 ABIs, we therefore
end-up with different values on the userland and kernel side:

* On the kernel side, the value is defined for all architectures as
  include/uapi/linux/resource.h:

  #define RLIM64_INFINITY           (~0ULL)

* On the GNU libc side, the value is defined in
  ports/sysdeps/unix/sysv/linux/mips/bits/resource.h:

  For the O32 and N32 ABI:
  #  define RLIM64_INFINITY 0x7fffffffffffffffULL

  and for the N64 ABI:
  #  define RLIM64_INFINITY 0xffffffffffffffffUL

This was not a problem until the prlimit64 syscall was wired in the
2.6.36 kernel. Given the GLIBC uses the prlimit64 syscall to implement
getrlimit64 and setrlimit64, pam_limits.so is setting the limits to
a very big value instead of infinity. As a normal user process can
later only decrease the value and not increase it, it will later get
and EPERM error when trying to set the value to infinity with setrlimit.

The GLIBC has this constant for more than 7 years, and as it is defined
in a header file, it means a lot of binaries are in the wild. This patch
fixes that by adding a wrapper to fix the value passed to or received
from the kernel, before or after calling the prlimit64 syscall.

10 years agoAlso remove benchtests/bench-strsep-ifunc.c
Ondřej Bílka [Tue, 26 Nov 2013 16:34:34 +0000 (17:34 +0100)]
Also remove benchtests/bench-strsep-ifunc.c

10 years agoaarch64: Enable ifunc support.
Will Newton [Mon, 25 Nov 2013 14:56:28 +0000 (14:56 +0000)]
aarch64: Enable ifunc support.

Add support for handling the R_AARCH64_IRELATIVE relocation and
STT_GNU_IFUNC symbols to the aarch64 port.

ports/ChangeLog.aarch64:

2013-11-26  Will Newton  <will.newton@linaro.org>

* sysdeps/aarch64/dl-irel.h: Include ldsodefs.h.
(ELF_MACHINE_IRELA): Define.  (elf_ifunc_invoke): Pass
hwcap to ifunc resolver function.  (elf_irela): New function.
* sysdeps/aarch64/dl-machine.h: Include dl-irel.h.
(elf_machine_rela) Handle STT_GNU_IFUNC symbols and
R_AARCH64_IRELATIVE relocations.  (elf_machine_lazy_rel):
Handle R_AARCH64_IRELATIVE relocations.

10 years agoAvoid "left shift count >= width of type" warnings in soft-fp code.
Uros Bizjak [Tue, 26 Nov 2013 16:05:10 +0000 (16:05 +0000)]
Avoid "left shift count >= width of type" warnings in soft-fp code.

10 years agoNEWS: Only public headers have __unused/__block changed.
Carlos O'Donell [Tue, 26 Nov 2013 14:47:45 +0000 (09:47 -0500)]
NEWS: Only public headers have __unused/__block changed.

10 years agoNEWS: Mention __unused and __block removal.
Carlos O'Donell [Tue, 26 Nov 2013 14:01:52 +0000 (09:01 -0500)]
NEWS: Mention __unused and __block removal.

10 years agoPowerPC: Fix __fe_nomask_env missing symbol
Adhemerval Zanella [Tue, 26 Nov 2013 13:25:08 +0000 (07:25 -0600)]
PowerPC: Fix __fe_nomask_env missing symbol

This patch fix the missing symbol __fe_nomask_env from commit
41e8926aa4b7f17bc95984737ee82a254ad0911c for GLIBC_2.1.

10 years agoRemove duplicate ifunc tests.
Ondřej Bílka [Tue, 26 Nov 2013 11:56:37 +0000 (12:56 +0100)]
Remove duplicate ifunc tests.

10 years agoAdd changelog.
Ondřej Bílka [Tue, 26 Nov 2013 11:56:08 +0000 (12:56 +0100)]
Add changelog.

10 years agoRemove duplicate ifunc benchtests.
Ondřej Bílka [Tue, 26 Nov 2013 11:48:33 +0000 (12:48 +0100)]
Remove duplicate ifunc benchtests.

10 years agoFix typo in _dl_tlsdesc_resolve_hold.
Ondřej Bílka [Tue, 26 Nov 2013 11:41:39 +0000 (12:41 +0100)]
Fix typo in _dl_tlsdesc_resolve_hold.

10 years agoUse __glibc_reserved instead __unused.
Ondřej Bílka [Tue, 26 Nov 2013 11:29:20 +0000 (12:29 +0100)]
Use __glibc_reserved instead __unused.

10 years agoFix bug ordering in NEWS.
Joseph Myers [Mon, 25 Nov 2013 22:27:06 +0000 (22:27 +0000)]
Fix bug ordering in NEWS.

10 years agoAdd bug 11214 to NEWS.
Joseph Myers [Mon, 25 Nov 2013 22:26:18 +0000 (22:26 +0000)]
Add bug 11214 to NEWS.

10 years agorevert hebrew lang_name addition
Chris Leonard [Mon, 25 Nov 2013 20:36:55 +0000 (15:36 -0500)]
revert hebrew lang_name addition

10 years agorevert hebrew lang_name addition
Chris Leonard [Mon, 25 Nov 2013 20:31:36 +0000 (15:31 -0500)]
revert hebrew lang_name addition

10 years agoAdd lang_name to various locales.
Chris Leonard [Mon, 25 Nov 2013 20:20:41 +0000 (15:20 -0500)]
Add lang_name to various locales.

10 years agoFix typo in sys/ptrace.h.
Carlos O'Donell [Mon, 25 Nov 2013 19:57:42 +0000 (14:57 -0500)]
Fix typo in sys/ptrace.h.

The event code is PTRACE_EVENT_SECCOMP, not PTRAVE_EVENT_SECCOMP.
This patch fixes the V->C typo. There are no ABI issues since the
number remains the same for the code. Code using the old wrong
name will need to be updated.

10 years agoFix intermittent failure in tst-getpid2.
Paul Pluzhnikov [Mon, 25 Nov 2013 19:38:01 +0000 (11:38 -0800)]
Fix intermittent failure in tst-getpid2.

2013-11-25  Paul Pluzhnikov  <ppluzhnikov@google.com>

[BZ #11214]
* Makefile (tst-getpid2-ENV): New variable.

10 years agoFix powerpc-nofpu build.
Joseph Myers [Mon, 25 Nov 2013 19:07:55 +0000 (19:07 +0000)]
Fix powerpc-nofpu build.

10 years agoPowerPC: Set/restore rounding mode only when needed
Adhemerval Zanella [Mon, 25 Nov 2013 12:12:30 +0000 (06:12 -0600)]
PowerPC: Set/restore rounding mode only when needed

This patch helps some math functions performance by adding the libc_fexxx
variant of inline functions to handle both FPU round and exception set/restore
and by using them on the libc_fexxx_ctx functions. It is based on already coded
fexxx family functions for PPC with fpu.

Here is the summary of performance improvements due this patch (measured on a
POWER7 machine):

Before:

cos(): ITERS:9.5895e+07: TOTAL:5116.03Mcy, MAX:77.6cy, MIN:49.792cy, 18744 calls/Mcy
exp(): ITERS:2.827e+07: TOTAL:5187.15Mcy, MAX:494.018cy, MIN:38.422cy, 5450.01 calls/Mcy
pow(): ITERS:6.1705e+07: TOTAL:5144.26Mcy, MAX:171.95cy, MIN:29.935cy, 11994.9 calls/Mcy
sin(): ITERS:8.6898e+07: TOTAL:5117.06Mcy, MAX:83.841cy, MIN:46.582cy, 16982 calls/Mcy
tan(): ITERS:2.9473e+07: TOTAL:5115.39Mcy, MAX:191.017cy, MIN:172.352cy, 5761.63 calls/Mcy

After:

cos(): ITERS:2.05265e+08: TOTAL:5111.37Mcy, MAX:78.754cy, MIN:24.196cy, 40158.5 calls/Mcy
exp(): ITERS:3.341e+07: TOTAL:5170.84Mcy, MAX:476.317cy, MIN:15.574cy, 6461.23 calls/Mcy
pow(): ITERS:7.6153e+07: TOTAL:5129.1Mcy, MAX:147.5cy, MIN:30.916cy, 14847.2 calls/Mcy
sin(): ITERS:1.58816e+08: TOTAL:5115.11Mcy, MAX:1490.39cy, MIN:22.341cy, 31048.4 calls/Mcy
tan(): ITERS:3.4964e+07: TOTAL:5114.18Mcy, MAX:177.422cy, MIN:146.115cy, 6836.68 calls/Mcy

10 years agoAdd lang_name to various locales.
Chris Leonard [Mon, 25 Nov 2013 00:58:39 +0000 (19:58 -0500)]
Add lang_name to various locales.

10 years agorevert error-generated by bs_BA.
Chris Leonard [Sat, 23 Nov 2013 23:07:00 +0000 (18:07 -0500)]
revert error-generated by bs_BA.

10 years agoAdd lang_name to various locales.
Chris Leonard [Sat, 23 Nov 2013 21:29:48 +0000 (16:29 -0500)]
Add lang_name to various locales.

10 years agoAdd lang_name to various locales.
Chris Leonard [Sat, 23 Nov 2013 18:10:17 +0000 (13:10 -0500)]
Add lang_name to various locales.

10 years agoARM: Fix memcpy computed-jump calculations for ARM_ALWAYS_BX case.
Roland McGrath [Fri, 22 Nov 2013 19:39:20 +0000 (11:39 -0800)]
ARM: Fix memcpy computed-jump calculations for ARM_ALWAYS_BX case.

10 years agoAdd lang_name to German, English, Spanish, French locales.
Chris Leonard [Fri, 22 Nov 2013 19:27:18 +0000 (14:27 -0500)]
Add lang_name to German, English, Spanish, French locales.

10 years agoAdd missing #include for malloc/hooks.c code.
Roland McGrath [Thu, 21 Nov 2013 23:49:50 +0000 (15:49 -0800)]
Add missing #include for malloc/hooks.c code.

10 years agoAdjust generic swapon prototype to match Linux version.
Roland McGrath [Thu, 21 Nov 2013 23:44:26 +0000 (15:44 -0800)]
Adjust generic swapon prototype to match Linux version.

10 years agoUse __glibc_block in public headers.
Meador Inge [Thu, 21 Nov 2013 21:57:37 +0000 (16:57 -0500)]
Use __glibc_block in public headers.

As detailed in PR11157, the use of '__block' is known to interfere
with keywords in some environments, such as the Clang -fblocks extension.
Recently a similar issue was raised concerning the use of '__unused'
and a '__glibc' prefix was proposed to create a glibc implementation
namespace for these sorts of issues [1].  This patches takes that
approach.

[1] https://sourceware.org/ml/libc-alpha/2012-02/msg00047.html
[2] http://lists.debian.org/debian-glibc/2013/11/msg00020.html

10 years agoDon't use broken DL_AUTO_FUNCTION_ADDRESS()
Guy Martin [Thu, 21 Nov 2013 18:23:16 +0000 (13:23 -0500)]
Don't use broken DL_AUTO_FUNCTION_ADDRESS()

On hppa and ia64, the macro DL_AUTO_FUNCTION_ADDRESS() uses the
variable fptr[2] in it's own scope.

The content of fptr[] is thus undefined right after the macro exits.
Newer gcc's (>= 4.7) reuse the stack space of this variable triggering
a segmentation fault in dl-init.c:69.

To fix this we rewrite the macros to make the call directly to init
and fini without needing to pass back a constructed function pointer.

10 years agoAdd lang_name to Arabic locales.
Chris Leonard [Thu, 21 Nov 2013 19:43:51 +0000 (14:43 -0500)]
Add lang_name to Arabic locales.

10 years agolinux-generic: fix alignment of struct stat/statfs for nios2
Chung-Lin Tang [Wed, 20 Nov 2013 21:12:18 +0000 (16:12 -0500)]
linux-generic: fix alignment of struct stat/statfs for nios2

The hard alignment of 8 was appropriate for most platforms for
which 8-byte values are 8-byte aligned, but this is not true
for the nios2 platform, so only align to the alignment of the
8-byte type on the platform.

Remove the explicit alignment of struct statfs as it's redundant.

10 years agoFix missing > on email.
Paul Pluzhnikov [Wed, 20 Nov 2013 18:38:20 +0000 (10:38 -0800)]
Fix missing > on email.

10 years agoFix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9
Paul Pluzhnikov [Wed, 20 Nov 2013 18:25:57 +0000 (10:25 -0800)]
Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9
gcc (GCC) 4.9.0 20131114 (experimental)

2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com

* Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin

10 years agoRevert "Fix failure in nptl/tst-cleanup when building with"
Paul Pluzhnikov [Wed, 20 Nov 2013 18:13:37 +0000 (10:13 -0800)]
Revert "Fix failure in nptl/tst-cleanup when building with"

This reverts commit 78271fa91a1e6902222e892068750059ec21f396.

Actually, a different fix is needed.

10 years agoFix failure in nptl/tst-cleanup when building with
Paul Pluzhnikov [Wed, 20 Nov 2013 18:05:24 +0000 (10:05 -0800)]
Fix failure in nptl/tst-cleanup when building with
gcc (GCC) 4.9.0 20131114 (experimental)

2013-11-20  Paul Pluzhnikov  <ppluzhnikov@google.com>

* nptl/tst-cleanup2.c (do_test): Handle SIGILL as well.

10 years agoConsolidate valloc/pvalloc code.
Ondřej Bílka [Wed, 20 Nov 2013 14:46:02 +0000 (15:46 +0100)]
Consolidate valloc/pvalloc code.

To make malloc code more maintainable we make malloc and pvalloc share
logic with memalign.

10 years agoFix build warning in locarchive.c
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:49:57 +0000 (18:19 +0530)]
Fix build warning in locarchive.c

10 years agoRename Oriya locale to Odia (bug 15601)
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:17:41 +0000 (17:47 +0530)]
Rename Oriya locale to Odia (bug 15601)

The state of Orissa was officially renamed the state to Odisha and the
language from Oriya to Odia in 2010.

References:

http://zeenews.india.com/election09/story.aspx?aid=739995
http://orissamatters.com/2011/11/07/orissa-became-odisha/
http://www.ndtv.com/article/india/parliament-passes-bill-to-change-orissa-s-name-93888
http://orissa.gov.in/e-magazine/Orissareview/2011/Nov/engpdf/9-17.pdf

10 years agoFix ChangeLog formatting
Siddhesh Poyarekar [Wed, 20 Nov 2013 12:15:44 +0000 (17:45 +0530)]
Fix ChangeLog formatting

10 years agoAdd systemtap probe markers for sin, cos, asin and acos
Siddhesh Poyarekar [Wed, 20 Nov 2013 02:16:48 +0000 (07:46 +0530)]
Add systemtap probe markers for sin, cos, asin and acos

10 years agoFix ChangeLog formatting
Siddhesh Poyarekar [Wed, 20 Nov 2013 02:16:18 +0000 (07:46 +0530)]
Fix ChangeLog formatting

10 years agoMake powerpc-nofpu floating-point state thread-local (bug 15483).
Joseph Myers [Tue, 19 Nov 2013 13:39:56 +0000 (13:39 +0000)]
Make powerpc-nofpu floating-point state thread-local (bug 15483).

10 years agoComplete display of LC_MONETARY
Andreas Schwab [Mon, 11 Nov 2013 17:12:03 +0000 (18:12 +0100)]
Complete display of LC_MONETARY

10 years agotest-fpucw-ieee: Don't use _FPU_IEEE if not defined
Chris Metcalf [Mon, 18 Nov 2013 18:27:09 +0000 (13:27 -0500)]
test-fpucw-ieee: Don't use _FPU_IEEE if not defined

Not all architectures define this value, and if they don't,
just let the test run the same as test-fpucw, with __fpu_control
set to _FPU_DEFAULT explicitly.

10 years agoAdjust AT_EXECFN when using explicit loader invocation.
Paul Pluzhnikov [Mon, 18 Nov 2013 23:11:55 +0000 (15:11 -0800)]
Adjust AT_EXECFN when using explicit loader invocation.

2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>

* elf/Makefile (tst-auxv): New test.
* elf/tst-auxv.c: New
* elf/rtld.c (dl_main): Adjust AT_EXECFN

10 years agoAdjust AT_EXECFN when using explicit loader invocation.
Paul Pluzhnikov [Mon, 18 Nov 2013 23:11:30 +0000 (15:11 -0800)]
Adjust AT_EXECFN when using explicit loader invocation.

2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>

* elf/Makefile (tst-auxv): New test.
* elf/tst-auxv.c: New
* elf/rtld.c (dl_main): Adjust AT_EXECFN

10 years agoDefine TLS version of libc_hidden_proto.
Joseph Myers [Mon, 18 Nov 2013 23:02:55 +0000 (23:02 +0000)]
Define TLS version of libc_hidden_proto.

10 years agoRevert b75891075bece24be9fd85618f18af4a2daf7f1c
Ondřej Bílka [Mon, 18 Nov 2013 22:42:58 +0000 (23:42 +0100)]
Revert b75891075bece24be9fd85618f18af4a2daf7f1c

10 years ago[BZ #16144] Duplicated abday value for tk_TM.
Chris Leonard [Mon, 18 Nov 2013 21:18:23 +0000 (16:18 -0500)]
[BZ #16144] Duplicated abday value for tk_TM.

10 years agoFix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253
Ondřej Bílka [Mon, 18 Nov 2013 18:56:57 +0000 (19:56 +0100)]
Fix breaking of RPATH when $ORIGIN contains colons. Fixes bug 10253

We first expanded origin and then split string by colons. This
misbehaves when $ORIGIN contain colon so we first split string, then
expand $ORIGIN.

10 years agobenchtests: Add strsep benchmark
Rajalakshmi Srinivasaraghavan [Mon, 18 Nov 2013 12:03:07 +0000 (06:03 -0600)]
benchtests: Add strsep benchmark

10 years agoRemove unused variable.
Ondřej Bílka [Mon, 18 Nov 2013 12:12:29 +0000 (13:12 +0100)]
Remove unused variable.

10 years agoProperly handle unavailable elements in LC_MONETARY category
Andreas Schwab [Mon, 11 Nov 2013 17:09:18 +0000 (18:09 +0100)]
Properly handle unavailable elements in LC_MONETARY category

10 years agoDo not let scanf("%4p") accept "(nil)". Fixes bug 16055
Ondřej Bílka [Mon, 18 Nov 2013 11:41:00 +0000 (12:41 +0100)]
Do not let scanf("%4p") accept "(nil)". Fixes bug 16055

10 years agoCorrect wae_CH to UTF-8 encoding.
Chris Leonard [Sun, 17 Nov 2013 23:24:27 +0000 (18:24 -0500)]
Correct wae_CH to UTF-8 encoding.

10 years agoTest signs of NaNs in libm-test.inc where appropriate.
Joseph Myers [Sat, 16 Nov 2013 12:48:35 +0000 (12:48 +0000)]
Test signs of NaNs in libm-test.inc where appropriate.

10 years agoAdd libm-test support for ignored return value, add more lrint / llrint / lround...
Joseph Myers [Sat, 16 Nov 2013 12:47:38 +0000 (12:47 +0000)]
Add libm-test support for ignored return value, add more lrint / llrint / lround / llround tests.

10 years agoReplace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag.
Joseph Myers [Sat, 16 Nov 2013 12:46:52 +0000 (12:46 +0000)]
Replace libm-test.inc TEST_INLINE conditionals with NO_TEST_INLINE flag.

10 years agoMake libm-test.inc check for "inexact" exceptions for NaN argument.
Joseph Myers [Sat, 16 Nov 2013 12:46:03 +0000 (12:46 +0000)]
Make libm-test.inc check for "inexact" exceptions for NaN argument.

10 years agoFix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).
Joseph Myers [Sat, 16 Nov 2013 12:45:11 +0000 (12:45 +0000)]
Fix spurious "inexact" exceptions from x86 pow with NaN argument (bug 16167).

10 years agoNew locale for the_NP.
Arun Kumar Pyasi [Fri, 15 Nov 2013 20:15:59 +0000 (15:15 -0500)]
New locale for the_NP.

10 years agoalpha: Fix signal thunk unwind info
Richard Henderson [Fri, 15 Nov 2013 20:34:39 +0000 (06:34 +1000)]
alpha: Fix signal thunk unwind info

10 years agoAdd Chitwani Tharu (the)
Chris Leonard [Fri, 15 Nov 2013 17:33:40 +0000 (12:33 -0500)]
Add Chitwani Tharu (the)

11 years ago[BZ #16143] pap_* locales have duplicated LC_NUMERIC section.
Chris Leonard [Thu, 14 Nov 2013 23:30:47 +0000 (18:30 -0500)]
[BZ #16143] pap_* locales have duplicated LC_NUMERIC section.

11 years ago[BZ #16103] LC_MEASUREMENT review and standardization
Chris Leonard [Thu, 14 Nov 2013 22:19:35 +0000 (17:19 -0500)]
[BZ #16103]  LC_MEASUREMENT review and standardization

11 years agoFix country_num element in LC_ADDRESS for C locale
Andreas Schwab [Mon, 11 Nov 2013 15:28:03 +0000 (16:28 +0100)]
Fix country_num element in LC_ADDRESS for C locale

11 years agoPowerPC: Fix __fe_mask_env export
Adhemerval Zanella [Wed, 13 Nov 2013 18:58:56 +0000 (12:58 -0600)]
PowerPC: Fix __fe_mask_env export

Change SHLIB_COMPAT calls to GLIBC_2_19 for __fe_nomask_env symbol.

11 years ago2013-11-13 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Wed, 13 Nov 2013 16:48:25 +0000 (08:48 -0800)]
2013-11-13  Steve Ellcey  <sellcey@mips.com>

* benchtests/bench-timing.h: Include time.h.

11 years agoSet arch_minimum_kernel to 3.4.0 for x32
H.J. Lu [Wed, 13 Nov 2013 13:43:58 +0000 (05:43 -0800)]
Set arch_minimum_kernel to 3.4.0 for x32

x32 ABI support was added in Linux kernel 3.4.0.

11 years agoFix strtod rounding of half the least subnormal (bug 16151).
Joseph Myers [Wed, 13 Nov 2013 12:59:54 +0000 (12:59 +0000)]
Fix strtod rounding of half the least subnormal (bug 16151).

11 years agoPowerPC: Fix __fe_mask_env export
Adhemerval Zanella [Wed, 13 Nov 2013 12:45:19 +0000 (06:45 -0600)]
PowerPC: Fix __fe_mask_env export

This patch does not export __fe_mask_env anymore, only providing a
compatibility symbol. It fixes BZ#14143.

11 years agoAvoid passing NULL to DSO_FILENAME.
Marcus Shawcroft [Wed, 13 Nov 2013 12:40:31 +0000 (12:40 +0000)]
Avoid passing NULL to DSO_FILENAME.

11 years agoHandle NULL return from htab_find_slot()
Marcus Shawcroft [Wed, 13 Nov 2013 12:37:41 +0000 (12:37 +0000)]
Handle NULL return from htab_find_slot()

11 years agoFix sparc 64-bit GMP ifunc resolution in static builds.
David S. Miller [Tue, 12 Nov 2013 20:48:01 +0000 (12:48 -0800)]
Fix sparc 64-bit GMP ifunc resolution in static builds.

[BZ #16150]
* sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
symbol in the non-vis3 case in static builds.
* sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
* sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.

11 years agoPut Bug # to the NEWS file for the previous vDSO l_name fix.
Jan Kratochvil [Mon, 11 Nov 2013 19:03:01 +0000 (20:03 +0100)]
Put Bug # to the NEWS file for the previous vDSO l_name fix.

11 years agoFix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.
Jan Kratochvil [Mon, 11 Nov 2013 17:03:58 +0000 (18:03 +0100)]
Fix vDSO l_name for GDB's: Can't read pathname for load map: Input/output error.

11 years agobenchtests: Add strtod benchmark
Adhemerval Zanella [Mon, 11 Nov 2013 13:23:02 +0000 (11:23 -0200)]
benchtests: Add strtod benchmark

11 years agoFix off-by-one in nscd getservbyport call
Andreas Schwab [Mon, 11 Nov 2013 11:24:42 +0000 (12:24 +0100)]
Fix off-by-one in nscd getservbyport call

11 years agoFix build on hurd
Samuel Thibault [Sun, 10 Nov 2013 10:22:32 +0000 (11:22 +0100)]
Fix build on hurd

* string/strcoll_l.c: Include <sys/param.h> for MIN/MAX macros.

11 years agoPowerPC: Fix vDSO missing ODP entries
Adhemerval Zanella [Thu, 7 Nov 2013 11:34:22 +0000 (05:34 -0600)]
PowerPC: Fix vDSO missing ODP entries

This patch fixes the vDSO symbol used directed in IFUNC resolver where
they do not have an associated ODP entry leading to undefined behavior
in some cases. It adds an artificial OPD static entry to such cases
and set its TOC to non 0 to avoid triggering lazy resolutions.

11 years agoMake getent services compliant with RFC 6335 section 5.1 Fixes bug 15374
Ondřej Bílka [Thu, 7 Nov 2013 11:46:57 +0000 (12:46 +0100)]
Make getent services compliant with  RFC 6335 section 5.1 Fixes bug 15374

The RFC 6335 allows services that start with digit (like 3com-tsmux).
These were parsed as port number which this patch fixes.

11 years agoFix build on pre-v9 32-bit Sparc.
David S. Miller [Wed, 6 Nov 2013 21:01:36 +0000 (13:01 -0800)]
Fix build on pre-v9 32-bit Sparc.

We cannot use fnegd in this code, as fnegd was added in v9.
Only fnegs exists in v8 and earlier.

[BZ #15985]
* sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
on pre-v9 cpus, use a fnegs+fmovs sequence instead.

11 years agomanual/memory.texi: Remove register keyword from examples.
Will Newton [Sat, 2 Nov 2013 16:45:48 +0000 (09:45 -0700)]
manual/memory.texi: Remove register keyword from examples.

The register keyword doesn't add any information to the examples
and is not useful for modern compilers.

ChangeLog:

2013-11-06  Will Newton  <will.newton@linaro.org>

* manual/memory.texi (Malloc Examples): Remove register
keyword from examples.

11 years agoRestore ChangeLog
Andreas Schwab [Mon, 4 Nov 2013 16:20:55 +0000 (17:20 +0100)]
Restore ChangeLog

11 years agoAdjust language-code fields of LC_ADDRESS.
Chris Leonard [Mon, 4 Nov 2013 16:21:41 +0000 (11:21 -0500)]
Adjust language-code fields of LC_ADDRESS.