aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-01-06ia64: regen libm-test-ulps from scratchMike Frysinger
Truncate the file first so as to delete old entries and to lower ULPs for tests that have improved. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06ia64: drop large results from libm-test-ulps [BZ #16401]Mike Frysinger
We don't want to record these test results as a good thing. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06Fix ldbl-128 / ldbl-128ibm lgammal spurious underflow (bug 16400).Joseph Myers
This patch fixes bug 16400, spurious underflow exceptions for ldbl-128 / ldbl-128ibm lgammal with small positive arguments, by just using -__logl (x) as the result in the problem cases (similar to the previous fix for problems with small negative arguments). Tested powerpc32, and also tested on mips64 that this does not require ulps regeneration for the ldbl-128 case. * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Return -__logl (x) for small positive arguments without evaluating a polynomial.
2014-01-06ia64: regenerate libm-test-ulpsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06ia64: add __ prefix to pt_all_user_regs/ia64_fpreg [BZ #762]Mike Frysinger
This addresses a long standing collision between userspace headers and kernel headers only on ia64 systems. All other types have a __ prefix in the ptrace headers except these two. Let's finally namespace these. Verified that at least strace still builds after this change, as well as after deleting all the struct hacks it has specifically for ia64. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=762 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06ptrace.h: add __ prefix to ptrace_peeksiginfo_argsMike Frysinger
All the other ptrace structures in this file have a __ prefix except this new one. This in turn causes build problems for most packages that try to use ptrace such as strace: gcc -DHAVE_CONFIG_H -I. -I../.. -I../../linux/x86_64 -I../../linux \ -I./linux -Wall -Wwrite-strings -g -O2 -MT process.o -MD -MP \ -MF .deps/process.Tpo -c -o process.o ../../process.c In file included from ../../process.c:63:0: /usr/include/linux/ptrace.h:58:8: error: redefinition of 'struct ptrace_peeksiginfo_args' struct ptrace_peeksiginfo_args { ^ In file included from ../../defs.h:159:0, from ../../process.c:37: /usr/include/sys/ptrace.h:191:8: note: originally defined here struct ptrace_peeksiginfo_args ^ Since this struct was introduced in glibc-2.18, there shouldn't be any real regressions with adding the __ prefix. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-06Fix typo in inet/netinet/in.h commentAllan McRae
2014-01-05Update ULPs for i386Andreas Jaeger
Update based on testing with GCC 4.8.1 on Intel i7
2014-01-05Regenerate libc.poAllan McRae
2014-01-05Fix gettext call formattingAllan McRae
2014-01-04ia64: fix build failure after async tls updatesMike Frysinger
The recent commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7 added a new local variable "offset" to tls_get_addr_tail. This conflicts with the ia64 code which also declares an offset code inline in this func. So have the ia64 code rename its local vars with a prefix that shouldn't collide with anything else in the future. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-04nscd: list all tables in usage()Sami Kerola
Usage output for option --invalidate=TABLE is not helpful without list of tables. The list is also missing from nscd(8) manual which made it pretty difficult to know what are the tables.
2014-01-04tst-fanotify: switch to AC_DEFINEMike Frysinger
Reported-by: Joseph S. Myers <joseph@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-01-03Fix soft-float ldbl-128ibm atan2l signs of zero results (bug 16390).Joseph Myers
This patch fixes bug 16390, incorrect signs of zero results from ldbl-128ibm atan2l, soft-float only. The problem is a longstanding GCC bug with fabsl not being correct for signed zero for soft float, and the fix is using -fno-builtin-fabsl as a workaround, as already done for various other source files. Tested powerpc-nofpu. * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math] (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
2014-01-03Fix ChangeLog entry.Paul Pluzhnikov
2014-01-03PowerPC: Fix compiler warningsAdhemerval Zanella
This patch fixes some compile warnings related to extra tokens at end of #undef directive from multilib patchset.
2014-01-03Merge branch 'master' of ssh://sourceware.org/git/glibcPaul Pluzhnikov
2014-01-03Async-signal safe TLS.Andrew Hunter
ChangeLog: 2014-01-03 Andrew Hunter <ahh@google.com> * elf/dl-open.c (): New comment. * elf/dl-reloc.c (_dl_try_allocate_static_tls): Use atomic_compare_and_exchange_bool_acq (_dl_allocate_static_tls): Block signals. * elf/dl-tls.c (allocate_and_init): Return void. (_dl_update_slotinfo): Block signals, use atomic update. nptl/ChangeLog: 2014-01-03 Andrew Hunter <ahh@google.com> * nptl/Makefile (tst-tls7): New test. * nptl/tst-tls7.c: New file. * nptl/tst-tls7mod.c: New file. * nptl/allocatestack.c (init_one_static_tls): Use atomic barrier.
2014-01-03Regenerate powerpc-nofpu ulps.Joseph Myers
2014-01-03Mark various libm tests with xfail-rounding:ldbl-128ibm.Joseph Myers
This patch marks various libm tests with xfail-rounding:ldbl-128ibm, where the failures appear to relate to GCC bug 59666 (bad libgcc handling of directed rounding), so as to allow clean libm-test-ulps regeneration without needing to edit out large ulps for various functions manually. Note that this only deals with the cases problematic for ulps regeneration. There are plenty of test failures left that do not affect ulps regeneration - results that are infinities or NaNs but should be finite, or vice versa, and missing and spurious exceptions - which should also be resolved during the release testing period. Tested for powerpc32 (hard float). * math/auto-libm-test-in: Mark various tests with xfail-rounding:ldbl-128ibm. * math/auto-libm-test-out: Regenerated.
2014-01-02Fix ldbl-128ibm logl inaccuracy (bug 16386).Joseph Myers
This patch fixes bug 16386, ldbl-128ibm logl inaccuracy (with consequent inaccuracy for lgammal) for arguments where the high double is subnormal, which showed up while attempting to regenerate ulps for powerpc-nofpu for 2.19. The problem here is logic failing to allow for subnormals when calculating the exponent of the argument. Tested for powerpc-nofpu. * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust numbers with subnormal high part when calculating exponent.
2014-01-02Fix ldbl-128ibm asinhl inaccuracy (bug 16385).Joseph Myers
This patch fixes bug 16385, ldbl-128ibm asinhl inaccuracy, which showed up while attempting to regenerate ulps for powerpc-nofpu for 2.19. The problem here was use of fabs instead of fabsl meaning large arguments were reduced to the precision of double. Tested for powerpc-nofpu. * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not fabs.
2014-01-02Fix ldbl-128ibm acoshl inaccuracy (bug 16384).Joseph Myers
This patch fixes bug 16384, ldbl-128ibm acoshl inaccuracy, which showed up while attempting to regenerate ulps for powerpc-nofpu for 2.19. There were two separate problems, use of __log1p instead of __log1pl and an insufficiently accurate constant value for log 2 (which this patch replaces by use of M_LN2l), each of which could cause substantial inaccuracy in affected cases. Tested for powerpc-nofpu. * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with M_LN2l. (__ieee754_acoshl): Use __log1pl not __log1p.
2014-01-02Reformat malloc to gnu style.Ondřej Bílka
2014-01-02Fix return code from getent netgroup when the netgroup is not found (bz #16366)Siddhesh Poyarekar
nscd incorrectly returns a success even when the netgroup in question is not found and adds a positive result in the cache. this patch fixes this behaviour by adding a negative lookup entry to cache and returning an error when the netgroup is not found.
2014-01-02Fix infinite loop in nscd when netgroup is empty (bz #16365)Siddhesh Poyarekar
Currently, when a user looks up a netgroup that does not have any members, nscd goes into an infinite loop trying to find members in the group. This is because it does not handle cases when getnetgrent returns an NSS_STATUS_NOTFOUND (which is what it does on empty group). Fixed to handle this in the same way as NSS_STATUS_RETURN, similar to what getgrent does by itself.
2014-01-01[AArch64] Regenerate libm-test-ulps.Marcus Shawcroft
2014-01-01[AArch64] Define ABORT_INSTRUCTION.Marcus Shawcroft
2014-01-01[AArch64] Pointer mangling support for AArch64.Venkataramanan Kumar
2014-01-01Regenerate ARM ulps.Joseph Myers
2014-01-01Regenerate MIPS ulps.Joseph Myers
2014-01-01Regenerate x86 / x86_64 ulps.Joseph Myers
2014-01-01scripts/update-copyrights: adjust configure input file suffixAllan McRae
2014-01-01Update remaining copyright datesAllan McRae
Update copyright years that are not handled by scripts/update-copyright.
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae
2013-12-31NEWS: mention 16379 as fixedMike Frysinger
Reported-by: Joseph S. Myers <joseph@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-31tst-fanotify: check for linux/fanotify.h existenceMike Frysinger
We support older kernels that lack this header, so check for it before we try to use it. Reported-by: Adhemerval Zanella <azanella@linux.vnet.ibm.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-31Benchmark inputs for cos and sinSiddhesh Poyarekar
Add a comprehensive number of inputs for all branches in sin and cos computation, excluding the fast paths. This also adds a number of inputs for the multiple precision slow paths.
2013-12-31benchmark inputs for atanSiddhesh Poyarekar
Add a more comprehensive set of inputs for the atan function. I have also fixed the name on the multiple precision fallback inputs (I couldn't find any new inputs there) to reflect the fact that the fallback is only 144bits and not 768bits as I had earlier mentioned.
2013-12-31benchmark inputs for tanh and atanhSiddhesh Poyarekar
2013-12-31benchmark inputs for asinh and acoshSiddhesh Poyarekar
Like sinh and cosh, this patch has benchmark inputs for asinh and acosh, generated using a random number generator and spread over significant branches, ignoring the fast return paths.
2013-12-31benchmark inputs for sinh and coshSiddhesh Poyarekar
Add a full set of inputs for sinh and cosh functions generated using a random number generator and spreading it over all branches in the function, ignoring the fast paths (i.e. immediate return for special values).
2013-12-31benchmark inputs for asin and acosSiddhesh Poyarekar
Add a comprehensive set of inputs for asin and acos functions, including the multiple precision fallback path.
2013-12-30ia64: longjmp_chk: support signal stacks [BZ #16372]Mike Frysinger
The sp check has to be moved up to the start of the func since it now makes a system call and that'll clobber a lot of registers. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16372 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-30ia64: setjmp/longjmp: stop saving/restoring fpsr [BZ #16379]Mike Frysinger
The new tst-setjmp-fp test has been failing on IA64 because the setjmp and longjmp helpers take care of saving/restoring the fpsr register. Per the C standards, this is incorrect, so disable that logic. URL: https://sourceware.org/bugzilla/show_bug.cgi?id=16379 Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-30Fix ChangeLogOndřej Bílka
2013-12-30Fix spelling in manual, as in bug 16376Ville Skytta
2013-12-30ia64: setjmp: use HIDDEN_JUMPTARGETMike Frysinger
Rather than opencode the __GI_xxx logic, use proper hidden helpers. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-29ia64: syscall: add some helpful documentationMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-12-27Add Solvenian translations for glibc messages.Carlos O'Donell