about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Fix dbl-64 e_sqrt.c for non-default rounding modes (bug 16271).Joseph Myers2013-11-2831-5/+110
|
* Get canonical name in getaddrinfo from hosts file for AF_INET (fixes 16077)Siddhesh Poyarekar2013-11-284-252/+272
| | | | | | | | 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.
* Make memset in calloc a tail call.Ondřej Bílka2013-11-282-2/+6
|
* Add lang_name to various locales.Chris Leonard2013-11-2716-6/+63
|
* MIPS: Fix RLIM64_INFINITY constant for O32 and N32 ABIsAurelien Jarno2013-11-278-30/+75
| | | | | | | 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.
* MIPS: Add wrappers to get/setrlimit64 to fix RLIM64_INFINITY constantAurelien Jarno2013-11-273-0/+127
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Also remove benchtests/bench-strsep-ifunc.cOndřej Bílka2013-11-262-20/+1
|
* aarch64: Enable ifunc support.Will Newton2013-11-263-3/+49
| | | | | | | | | | | | | | | | | 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.
* Avoid "left shift count >= width of type" warnings in soft-fp code.Uros Bizjak2013-11-262-4/+10
|
* NEWS: Only public headers have __unused/__block changed.Carlos O'Donell2013-11-261-3/+3
|
* NEWS: Mention __unused and __block removal.Carlos O'Donell2013-11-261-0/+5
|
* PowerPC: Fix __fe_nomask_env missing symbolAdhemerval Zanella2013-11-269-14/+31
| | | | | This patch fix the missing symbol __fe_nomask_env from commit 41e8926aa4b7f17bc95984737ee82a254ad0911c for GLIBC_2.1.
* Remove duplicate ifunc tests.Ondřej Bílka2013-11-2635-645/+38
|
* Add changelog.Ondřej Bílka2013-11-261-0/+41
|
* Remove duplicate ifunc benchtests.Ondřej Bílka2013-11-2636-682/+2
|
* Fix typo in _dl_tlsdesc_resolve_hold.Ondřej Bílka2013-11-262-1/+4
|
* Use __glibc_reserved instead __unused.Ondřej Bílka2013-11-2686-294/+385
|
* Fix bug ordering in NEWS.Joseph Myers2013-11-251-1/+1
|
* Add bug 11214 to NEWS.Joseph Myers2013-11-251-11/+11
|
* revert hebrew lang_name additionChris Leonard2013-11-251-1/+0
|
* revert hebrew lang_name additionChris Leonard2013-11-251-1/+0
|
* Add lang_name to various locales.Chris Leonard2013-11-2516-0/+47
|
* Fix typo in sys/ptrace.h.Carlos O'Donell2013-11-253-2/+8
| | | | | | | 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.
* Fix intermittent failure in tst-getpid2.Paul Pluzhnikov2013-11-252-0/+10
| | | | | | | 2013-11-25 Paul Pluzhnikov <ppluzhnikov@google.com> [BZ #11214] * Makefile (tst-getpid2-ENV): New variable.
* Fix powerpc-nofpu build.Joseph Myers2013-11-253-0/+12
|
* PowerPC: Set/restore rounding mode only when neededAdhemerval Zanella2013-11-258-25/+309
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Add lang_name to various locales.Chris Leonard2013-11-2422-3/+64
|
* revert error-generated by bs_BA.Chris Leonard2013-11-232-3/+0
|
* Add lang_name to various locales.Chris Leonard2013-11-2311-4/+48
|
* Add lang_name to various locales.Chris Leonard2013-11-237-0/+22
|
* ARM: Fix memcpy computed-jump calculations for ARM_ALWAYS_BX case.Roland McGrath2013-11-223-18/+19
|
* Add lang_name to German, English, Spanish, French locales.Chris Leonard2013-11-2247-0/+136
|
* Add missing #include for malloc/hooks.c code.Roland McGrath2013-11-212-2/+6
|
* Adjust generic swapon prototype to match Linux version.Roland McGrath2013-11-212-1/+5
|
* Use __glibc_block in public headers.Meador Inge2013-11-215-15/+25
| | | | | | | | | | | | 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
* Don't use broken DL_AUTO_FUNCTION_ADDRESS()Guy Martin2013-11-2111-61/+98
| | | | | | | | | | | | 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.
* Add lang_name to Arabic locales.Chris Leonard2013-11-2120-0/+41
|
* linux-generic: fix alignment of struct stat/statfs for nios2Chung-Lin Tang2013-11-203-6/+15
| | | | | | | | | 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.
* Fix missing > on email.Paul Pluzhnikov2013-11-201-1/+1
|
* Fix failure in tst-cleanup2 and tst-cleanupx2 with gcc-4.9Paul Pluzhnikov2013-11-202-0/+8
| | | | | | | | gcc (GCC) 4.9.0 20131114 (experimental) 2013-11-20 Paul Pluzhnikov <ppluzhnikov@google.com * Makefile (tst-cleanup2, tst-cleanupx2): Add -fno-builtin
* Revert "Fix failure in nptl/tst-cleanup when building with"Paul Pluzhnikov2013-11-202-10/+0
| | | | | | This reverts commit 78271fa91a1e6902222e892068750059ec21f396. Actually, a different fix is needed.
* Fix failure in nptl/tst-cleanup when building withPaul Pluzhnikov2013-11-202-0/+10
| | | | | | | | 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.
* Consolidate valloc/pvalloc code.Ondřej Bílka2013-11-204-112/+44
| | | | | To make malloc code more maintainable we make malloc and pvalloc share logic with memalign.
* Fix build warning in locarchive.cSiddhesh Poyarekar2013-11-202-3/+7
|
* Rename Oriya locale to Odia (bug 15601)Siddhesh Poyarekar2013-11-206-15/+24
| | | | | | | | | | | | 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
* Fix ChangeLog formattingSiddhesh Poyarekar2013-11-201-1/+1
|
* Add systemtap probe markers for sin, cos, asin and acosSiddhesh Poyarekar2013-11-203-0/+57
|
* Fix ChangeLog formattingSiddhesh Poyarekar2013-11-201-3/+3
|
* Make powerpc-nofpu floating-point state thread-local (bug 15483).Joseph Myers2013-11-1922-76/+390
|
* Complete display of LC_MONETARYAndreas Schwab2013-11-194-1/+30
|