summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2013-05-03Sync with Linux 3.9Andreas Jaeger3-1/+11
* sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from Linux 3.9. * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add. (PF_MAX): Adjust for VSOCK change.
2013-05-03Update powerpc libm-test ULPsAdhemerval Zanella2-0/+100
2013-05-02Add yesstr and nostr to en_CA, es_AR, and es_ESCarlos O'Donell4-2/+23
We add yesstr and nostr to three more locales. We ignore the issue of capitalization of the first character in yesstr and nostr. All locales will need to be revisited to make this uniform policy change. --- 2013-05-02 Carlos O'Donell <carlos@redhat.com> [BZ #15264] * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr. * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES. * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
2013-05-03Add bug 14952 to ChangeLog and NEWSAllan McRae2-5/+7
Fixed with commit 0695940b.
2013-05-02Update Sparc ULPs.David S. Miller2-24/+4129
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2013-05-01Remove duplicate __strcmp_cgOndrej Bilka2-24/+5
The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one.
2013-05-01Add missing #include in sysdeps/posix/opendir.c.Roland McGrath2-0/+5
2013-05-01Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith2-8/+14
Use the __gnu_inline__ attribute in _FORTIFY_SOURCE's __extern_always_inline macro whenever the compiler supports it. Previously this macro only included the __gnu_inline__ attribute in C++ mode for gcc >= 4.3. However, __gnu_inline__ semantics are always desired for the __extern_always_inline functions, and are available in g++ 4.2 (and some releases of g++ 4.1, and also in Clang, which claims to be g++ 4.2). This change stops g++-4.2 from emitting weak definitions for the fortify wrapper functions if they can't be inlined, and also improves Clang compatibility.
2013-05-01Fix catan, catanh spurious underflows (bug 15423).Joseph Myers11-98/+920
2013-04-30Update powerpc libm-test ULPsAdhemerval Zanella2-2/+418
2013-04-30Add bug 15416 to NEWS.Joseph Myers1-1/+1
2013-04-30Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers10-14/+909
2013-04-30Format s_sin.cSiddhesh Poyarekar2-904/+1214
2013-04-30Allow multiple input domains to be run in the same benchmark programSiddhesh Poyarekar23-231/+204
Some math functions have distinct performance characteristics in specific domains of inputs, where some inputs return via a fast path while other inputs require multiple precision calculations, that too at different precision levels. The way to implement different domains was to have a separate source file and benchmark definition, resulting in separate programs. This clutters up the benchmark, so this change allows these domains to be consolidated into the same input file. To do this, the input file format is now enhanced to allow comments with a preceding # and directives with two # at the begining of a line. A directive that looks like: tells the benchmark generation script that what follows is a different domain of inputs. The value of the 'name' directive (in this case, foo) is used in the output. The two input domains are then executed sequentially and their results collated separately. with the above directive, there would be two lines in the result that look like: func(): .... func(foo): ...
2013-04-30Maintain runtime of each benchmark at ~10 secondsSiddhesh Poyarekar5-36/+54
The idea to run benchmarks for a constant number of iterations is problematic. While the benchmarks may run for 10 seconds on x86_64, they could run for about 30 seconds on powerpc and worse, over 3 minutes on arm. Besides that, adding a new benchmark is cumbersome since one needs to find out the number of iterations needed for a sufficient runtime. A better idea would be to run each benchmark for a specific amount of time. This patch does just that. The run time defaults to 10 seconds and it is configurable at command line: make BENCH_DURATION=5 bench
2013-04-29Make stub fchdir.c define __fchdir.Roland McGrath2-2/+7
2013-04-29Integrate errno testing better in libm-test.inc.Joseph Myers3-199/+157
2013-04-29BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger3-6/+10
[BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
2013-04-29BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger4-7/+12
[BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
2013-04-29BZ#15380: Fix initstate error returnAndreas Jaeger3-3/+8
[BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
2013-04-29BZ#15086: Fix res_debug printing of optionsAndreas Jaeger3-4/+17
[BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
2013-04-29Update powerpc libm-test ULPsAdhemerval Zanella2-27/+3322
2013-04-29Add missing semicolons to libm-test.inc tests.Joseph Myers2-363/+370
2013-04-27Fix catan, catanh spurious overflows (bug 15409).Joseph Myers11-91/+492
2013-04-27Fix ia_FR postal formatNik Kalach3-8/+13
2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
2013-04-27Fix guards for qecvtAndreas Jaeger4-11/+15
[BZ #15007] * stdlib/stdlib.h: Update guards for qecvt. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with <stdlib.h>.
2013-04-27Update i386 libm-test ULPsAllan McRae2-0/+84
2013-04-26Fix catan, catanh missing underflows (bug 15406).Joseph Myers9-7/+152
2013-04-26Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers12-1/+148
2013-04-26PowerPC: modf optimization fixAdhemerval Zanella5-0/+15
This patch fix the 3c0265394d9ffedff2b0de508602dc52e077ce5c commits by correctly setting minimum architecture for modf PPC optimization to power5+ instead of power5 (since only on power5+ round/ceil will be inline to inline assembly).
2013-04-26Update x86_64 ULPsMarkus Trippelsdorf2-0/+248
2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update.
2013-04-25Add missing bug numbers to NEWS.Joseph Myers1-5/+5
2013-04-25Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers19-47/+140
2013-04-25Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov3-20/+9
2013-04-25Declare __ehdr_start with hidden visibility.Maciej W. Rozycki2-1/+5
This avoids a linker bug triggering for MIPS SVR4 binaries: http://sourceware.org/bugzilla/show_bug.cgi?id=15365 and regardless serves as a documentation of intent.
2013-04-25soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.Maciej W. Rozycki2-1/+5
2013-04-24math: Use accurate answers for cos and sincos.Carlos O'Donell2-10/+15
Use the most accurate hex literals possible for the answers to the cos and sincos tests that vary according to the error in the rounding of PI/2. --- 2013-04-24 Carlos O'Donell <carlos@redhat.com> * math/libm-test.inc (cos_test): Use accurate hex constants. (sincost_test): Likewise.
2013-04-24Add catan, catanh tests at +/- 1 and +/- i.Joseph Myers2-0/+21
2013-04-24Use suffixed floating-point constants in float and long double catan/catanh.Joseph Myers5-28/+34
2013-04-24Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers11-10/+130
2013-04-24Mention files in which fast/slow paths of math functions are implementedSiddhesh Poyarekar2-12/+17
2013-04-23Fix name space use in last commit.Roland McGrath1-1/+1
2013-04-23Add generic POSIX implementation of C11 timespec_get.Roland McGrath2-0/+42
2013-04-23PowerPC: modf optimizationAdhemerval Zanella7-1/+160
This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.
2013-04-23Consistently use ISSPACE to check for whitespaceSiddhesh Poyarekar5-7/+58
Resolves #14888. This only really manifests itself when there are no spaces between format specifiers, which is not allowed by POSIX, but is allowed by the glibc implementation.
2013-04-23Remove non-standard initialisation of flexible array memberAndreas Schwab2-1/+14
This avoids GCC bug 28865.
2013-04-23S/390: Change struct statfs[64] member types to unsigned valuesHeiko Carstens2-12/+18
Kay Sievers reported that coreutils' stat tool has a problem with s390's statfs[64] definition: > The definition of struct statfs::f_type needs a fix. s390 is the only > architecture in the kernel that uses an int and expects magic > constants lager than INT_MAX to fit into. > > A fix is needed to make Fedora boot on s390, it currently fails to do > so. Userspace does not want to add code to paper-over this issue. [...] > Even coreutils cannot handle it: > #define RAMFS_MAGIC 0x858458f6 > # stat -f -c%t / > ffffffff858458f6 > > #define BTRFS_SUPER_MAGIC 0x9123683E > # stat -f -c%t /mnt > ffffffff9123683e The bug is caused by an implicit sign extension within the stat tool: out_uint_x (pformat, prefix_len, statfsbuf->f_type); where the format finally will be "%lx". A similar problem can be found in the 'tail' tool. s390 is the only architecture which has an int type f_type member in struct statfs[64]. Other architectures have either unsigned ints or long values, so that the problem doesn't occur there. Therefore change the type of the f_type member to unsigned int, so that we get zero extension instead sign extension when assignment to a long value happens. Reported-by: Kay Sievers <kay@vrfy.org> Signed-off-by: Heiko Carstens <heiko.carstens@de.ibm.com>
2013-04-22Fix getent to call endspent rather than endpwent for shadow database.Jan-Benedict Glaw2-1/+5
2013-04-22Consolidate pthread_attr value validationSiddhesh Poyarekar7-29/+98
Define inline functions that wrap around validation for each of the pthread attributes to reduce duplication in code.
2013-04-22Minor cleanup in getaddrinfoSiddhesh Poyarekar2-3/+9
Replace repeated computations of alloca size with a local variable that stores the computed value.