aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2013-05-01Add #include <stdint.h> for uint[32|64]_t usage (except installed headers).rsa/stdint_noheadersRyan S. Arnold
2013-05-01Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith
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 Myers
2013-04-30Update powerpc libm-test ULPsAdhemerval Zanella
2013-04-30Add bug 15416 to NEWS.Joseph Myers
2013-04-30Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers
2013-04-30Format s_sin.cSiddhesh Poyarekar
2013-04-30Allow multiple input domains to be run in the same benchmark programSiddhesh Poyarekar
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 Poyarekar
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 McGrath
2013-04-29Integrate errno testing better in libm-test.inc.Joseph Myers
2013-04-29BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger
[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 Jaeger
[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 Jaeger
[BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
2013-04-29BZ#15086: Fix res_debug printing of optionsAndreas Jaeger
[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 Zanella
2013-04-29Add missing semicolons to libm-test.inc tests.Joseph Myers
2013-04-27Fix catan, catanh spurious overflows (bug 15409).Joseph Myers
2013-04-27Fix ia_FR postal formatNik Kalach
2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
2013-04-27Fix guards for qecvtAndreas Jaeger
[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 McRae
2013-04-26Fix catan, catanh missing underflows (bug 15406).Joseph Myers
2013-04-26Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers
2013-04-26PowerPC: modf optimization fixAdhemerval Zanella
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 Trippelsdorf
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 Myers
2013-04-25Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers
2013-04-25Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov
2013-04-25Declare __ehdr_start with hidden visibility.Maciej W. Rozycki
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. Rozycki
2013-04-24math: Use accurate answers for cos and sincos.Carlos O'Donell
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 Myers
2013-04-24Use suffixed floating-point constants in float and long double catan/catanh.Joseph Myers
2013-04-24Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers
2013-04-24Mention files in which fast/slow paths of math functions are implementedSiddhesh Poyarekar
2013-04-23Fix name space use in last commit.Roland McGrath
2013-04-23Add generic POSIX implementation of C11 timespec_get.Roland McGrath
2013-04-23PowerPC: modf optimizationAdhemerval Zanella
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 Poyarekar
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 Schwab
This avoids GCC bug 28865.
2013-04-23S/390: Change struct statfs[64] member types to unsigned valuesHeiko Carstens
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 Glaw
2013-04-22Consolidate pthread_attr value validationSiddhesh Poyarekar
Define inline functions that wrap around validation for each of the pthread attributes to reduce duplication in code.
2013-04-22Minor cleanup in getaddrinfoSiddhesh Poyarekar
Replace repeated computations of alloca size with a local variable that stores the computed value.
2013-04-21Russian translations update.David S. Miller
* po/ru.po: Update Russion translation from translation project.
2013-04-19ARM: Macroize assembly use of EABI unwind directives.Roland McGrath
2013-04-18Remove __wur from setfsuid and setfsgid.Adam Conrad
2013-04-18MicroBlaze PortDavid Holsgrove
Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
2013-04-17Update ChangeLog.Carlos O'Donell
Update ChangeLog for 0f122b8d12875181a4fba3449e3549d34d3dc398.
2013-04-17Configuring for i386 is no longer supported.Carlos O'Donell
We no longer support configuring for i386, nor do we elide such a configuration to i686. Configuring with i386-* is a failure, and we provide an example of how to fix that. --- 2013-04-17 Carlos O'Donell <carlos@redhat.com> * configure.in: Remove i386 configure warning. Remove i386 case. * configure: Regenerate. * sysdeps/i386/configure.in: Raise error if config_machine is i386. Add example to error message. * sysdeps/i386/configure: Regenerate.