about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). rsa/stdint_noheadersRyan S. Arnold2013-05-01220-12/+527
|
* Use __gnu_inline__ for __extern_always_inline in g++-4.2Richard Smith2013-05-012-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.
* Fix catan, catanh spurious underflows (bug 15423).Joseph Myers2013-05-0111-98/+920
|
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-302-2/+418
|
* Add bug 15416 to NEWS.Joseph Myers2013-04-301-1/+1
|
* Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).Joseph Myers2013-04-3010-14/+909
|
* Format s_sin.cSiddhesh Poyarekar2013-04-302-904/+1214
|
* Allow multiple input domains to be run in the same benchmark programSiddhesh Poyarekar2013-04-3023-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): ...
* Maintain runtime of each benchmark at ~10 secondsSiddhesh Poyarekar2013-04-305-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
* Make stub fchdir.c define __fchdir.Roland McGrath2013-04-292-2/+7
|
* Integrate errno testing better in libm-test.inc.Joseph Myers2013-04-293-199/+157
|
* BZ#15084: Apparent typos in strings in res_debug.cAndreas Jaeger2013-04-293-6/+10
| | | | | | [BZ #15084] * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING and RES_USEVC.
* BZ#15085: Fix comments/strings for RES_NOCHECKNAMEAndreas Jaeger2013-04-294-7/+12
| | | | | | | [BZ #15085] * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented. * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as unimplemented.
* BZ#15380: Fix initstate error returnAndreas Jaeger2013-04-293-3/+8
| | | | | | [BZ #15380] * stdlib/random.c (__initstate): Return NULL if __initstate fails.
* BZ#15086: Fix res_debug printing of optionsAndreas Jaeger2013-04-293-4/+17
| | | | | | | [BZ# 15086] * resolv/res_debug.c (p_option): Handle RES_NOALIASES, RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP, RES_SNGLKUPREOP.
* Update powerpc libm-test ULPsAdhemerval Zanella2013-04-292-27/+3322
|
* Add missing semicolons to libm-test.inc tests.Joseph Myers2013-04-292-363/+370
|
* Fix catan, catanh spurious overflows (bug 15409).Joseph Myers2013-04-2711-91/+492
|
* Fix ia_FR postal formatNik Kalach2013-04-273-8/+13
| | | | | | | 2013-04-27 Nik Kalach <nikka@fedoraproject.org> [BZ #15221] * locales/ia_FR: Fix postal_fmt definition.
* Fix guards for qecvtAndreas Jaeger2013-04-274-11/+15
| | | | | | | [BZ #15007] * stdlib/stdlib.h: Update guards for qecvt. * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with <stdlib.h>.
* Update i386 libm-test ULPsAllan McRae2013-04-272-0/+84
|
* Fix catan, catanh missing underflows (bug 15406).Joseph Myers2013-04-269-7/+152
|
* Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).Joseph Myers2013-04-2612-1/+148
|
* PowerPC: modf optimization fixAdhemerval Zanella2013-04-265-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).
* Update x86_64 ULPsMarkus Trippelsdorf2013-04-262-0/+248
| | | | | | 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de> * sysdeps/x86_64/fpu/libm-test-ulps: Update.
* Add missing bug numbers to NEWS.Joseph Myers2013-04-251-5/+5
|
* Move x86_64-specific audit tests to sysdeps/x86_64/.Joseph Myers2013-04-2519-47/+140
|
* Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROSPaul Pluzhnikov2013-04-253-20/+9
|
* Declare __ehdr_start with hidden visibility.Maciej W. Rozycki2013-04-252-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.
* soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.Maciej W. Rozycki2013-04-252-1/+5
|
* math: Use accurate answers for cos and sincos.Carlos O'Donell2013-04-242-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.
* Add catan, catanh tests at +/- 1 and +/- i.Joseph Myers2013-04-242-0/+21
|
* Use suffixed floating-point constants in float and long double catan/catanh.Joseph Myers2013-04-245-28/+34
|
* Fix catan, catanh inaccuracy through use of log (bug 15394).Joseph Myers2013-04-2411-10/+130
|
* Mention files in which fast/slow paths of math functions are implementedSiddhesh Poyarekar2013-04-242-12/+17
|
* Fix name space use in last commit.Roland McGrath2013-04-231-1/+1
|
* Add generic POSIX implementation of C11 timespec_get.Roland McGrath2013-04-232-0/+42
|
* PowerPC: modf optimizationAdhemerval Zanella2013-04-237-1/+160
| | | | | This patch implements modf/modff optimization for POWER by focus on FP operations instead of relying in integer ones.
* Consistently use ISSPACE to check for whitespaceSiddhesh Poyarekar2013-04-235-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.
* Remove non-standard initialisation of flexible array memberAndreas Schwab2013-04-232-1/+14
| | | | This avoids GCC bug 28865.
* S/390: Change struct statfs[64] member types to unsigned valuesHeiko Carstens2013-04-232-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>
* Fix getent to call endspent rather than endpwent for shadow database.Jan-Benedict Glaw2013-04-222-1/+5
|
* Consolidate pthread_attr value validationSiddhesh Poyarekar2013-04-227-29/+98
| | | | | Define inline functions that wrap around validation for each of the pthread attributes to reduce duplication in code.
* Minor cleanup in getaddrinfoSiddhesh Poyarekar2013-04-222-3/+9
| | | | | Replace repeated computations of alloca size with a local variable that stores the computed value.
* Russian translations update.David S. Miller2013-04-212-6/+10
| | | | * po/ru.po: Update Russion translation from translation project.
* ARM: Macroize assembly use of EABI unwind directives.Roland McGrath2013-04-193-15/+31
|
* Remove __wur from setfsuid and setfsgid.Adam Conrad2013-04-182-2/+7
|
* MicroBlaze PortDavid Holsgrove2013-04-18101-0/+12503
| | | | | Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@xilinx.com>
* Update ChangeLog.Carlos O'Donell2013-04-171-2/+2
| | | | Update ChangeLog for 0f122b8d12875181a4fba3449e3549d34d3dc398.
* Configuring for i386 is no longer supported.Carlos O'Donell2013-04-175-22/+32
| | | | | | | | | | | | | | | | | 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.