platform/upstream/glibc.git
11 years agoARM: Make multiarch memcpy always use NEON when compiler does
Roland McGrath [Mon, 13 May 2013 22:41:46 +0000 (15:41 -0700)]
ARM: Make multiarch memcpy always use NEON when compiler does

11 years agoConvert TEST_fl_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 22:38:15 +0000 (22:38 +0000)]
Convert TEST_fl_f tests from code to data.

11 years agoConvert TEST_fi_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 19:45:36 +0000 (19:45 +0000)]
Convert TEST_fi_f tests from code to data.

11 years agoConvert TEST_c_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 18:58:17 +0000 (18:58 +0000)]
Convert TEST_c_f tests from code to data.

11 years agoConvert TEST_if_f tests from code to data.
Joseph Myers [Mon, 13 May 2013 18:57:35 +0000 (18:57 +0000)]
Convert TEST_if_f tests from code to data.

11 years agoConsistently use TEST_fl_f in tests of scalbln.
Joseph Myers [Mon, 13 May 2013 18:56:50 +0000 (18:56 +0000)]
Consistently use TEST_fl_f in tests of scalbln.

11 years agoDefine decimal constant M_1_DIV_El in libm-test.inc
Adhemerval Zanella [Mon, 13 May 2013 17:08:42 +0000 (12:08 -0500)]
Define decimal constant M_1_DIV_El in libm-test.inc

This patch replaces the 1.0 / M_El by the decimal constant M_1_DIV_El.

11 years agoUse HP_TIMING for benchmarks if available
Siddhesh Poyarekar [Mon, 13 May 2013 08:14:32 +0000 (13:44 +0530)]
Use HP_TIMING for benchmarks if available

HP_TIMING uses native timestamping instructions if available, thus
greatly reducing the overhead of recording start and end times for
function calls.  For architectures that don't have HP_TIMING
available, we fall back to the clock_gettime bits.  One may also
override this by invoking the benchmark as follows:

  make USE_CLOCK_GETTIME=1 bench

and get the benchmark results using clock_gettime.  One has to do
`make bench-clean` to ensure that the benchmark programs are rebuilt.

11 years agoMake _LIB_VERSION a weak symbol
Siddhesh Poyarekar [Mon, 13 May 2013 06:16:36 +0000 (11:46 +0530)]
Make _LIB_VERSION a weak symbol

That way it can live alongside _LIB_VERSION in libieee.a for
statically compiled programs.

Resolves #14582.

11 years agoConvert TEST_fff_f tests from code to data.
Joseph Myers [Sun, 12 May 2013 21:07:58 +0000 (21:07 +0000)]
Convert TEST_fff_f tests from code to data.

11 years agoConvert TEST_c_c tests from code to data.
Joseph Myers [Sun, 12 May 2013 17:38:26 +0000 (17:38 +0000)]
Convert TEST_c_c tests from code to data.

11 years ago[AArch64] Fix out of range branch from ioctl() and clone()
Marcus Shawcroft [Sun, 12 May 2013 17:09:33 +0000 (18:09 +0100)]
[AArch64] Fix out of range branch from ioctl() and clone()

2013-05-12  Marcus Shawcroft  <marcus.shawcroft@linaro.org>

* sysdeps/unix/sysv/linux/aarch64/clone.S (__clone):
Do not call sycall_error directly with a confitional branch.

* sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl):
Do not call sycall_error directly with a confitional branch.

11 years agoConvert TEST_ff_f tests from code to data.
Joseph Myers [Sun, 12 May 2013 13:17:09 +0000 (13:17 +0000)]
Convert TEST_ff_f tests from code to data.

11 years agoMake fma and nextafter tests use max_value instead of fltmax.
Joseph Myers [Sat, 11 May 2013 11:10:31 +0000 (11:10 +0000)]
Make fma and nextafter tests use max_value instead of fltmax.

11 years agoConvert TEST_f_f tests from code to data.
Joseph Myers [Sat, 11 May 2013 11:09:30 +0000 (11:09 +0000)]
Convert TEST_f_f tests from code to data.

11 years agoAdd BZ #10191 to ChangeLog/NEWS
Andreas Jaeger [Sat, 11 May 2013 08:28:21 +0000 (10:28 +0200)]
Add BZ #10191 to ChangeLog/NEWS

BZ #10191 was fixed some time ago without noticing at that time.

11 years agoAdd getgid.c for SH
Christian Grönke [Fri, 10 May 2013 18:40:48 +0000 (20:40 +0200)]
Add getgid.c for SH

[BZ #12387]
* sysdeps/unix/sysv/linux/sh/getgid.c: New file.

11 years agoHurd: add ST_NOATIME
Pino Toscano [Fri, 10 May 2013 18:39:32 +0000 (20:39 +0200)]
Hurd: add ST_NOATIME

11 years agoFix integer overflow in sysdeps/unix/sysv/linux/bits/sched.h
Andreas Jaeger [Fri, 10 May 2013 18:28:40 +0000 (20:28 +0200)]
Fix integer overflow in sysdeps/unix/sysv/linux/bits/sched.h

[BZ #15448]
* sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
(__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.

11 years agoStart converting libm tests from code to data.
Joseph Myers [Fri, 10 May 2013 16:45:04 +0000 (16:45 +0000)]
Start converting libm tests from code to data.

11 years agoFix coding style
Siddhesh Poyarekar [Fri, 10 May 2013 12:14:27 +0000 (17:44 +0530)]
Fix coding style

11 years agoFix tgamma errno setting on domain error (bug 6809).
Joseph Myers [Fri, 10 May 2013 11:35:11 +0000 (11:35 +0000)]
Fix tgamma errno setting on domain error (bug 6809).

11 years agoUse *stat64 instead of *stat in installed programs
Florian Weimer [Fri, 10 May 2013 09:41:53 +0000 (11:41 +0200)]
Use *stat64 instead of *stat in installed programs

This ensures reliable operation on file systems with inode numbers
which do not fit into 32 bits.

11 years agoLocalize rpcgen
Andreas Jaeger [Fri, 10 May 2013 06:06:21 +0000 (08:06 +0200)]
Localize rpcgen

[BZ #15395]
* sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
localization.
Include <locale.h>.

11 years agoAdd more comments to dlclose() algorithm.
Carlos O'Donell [Thu, 9 May 2013 21:37:15 +0000 (17:37 -0400)]
Add more comments to dlclose() algorithm.

The algorithm for scanning dependencies upon dlclose is
less than immediately obvious. This patch adds two bits
of comments that explain why you start the dependency
search at l_initfini[1], and why you need to restart
the search.

---

2013-05-09  Carlos O'Donell  <carlos@redhat.com>

* elf/dl-close.c (_dl_close_worker): Add comments.

11 years agoFix ldbl-128ibm cos range reduction near pi/2 (bug 15359).
Joseph Myers [Thu, 9 May 2013 21:30:08 +0000 (21:30 +0000)]
Fix ldbl-128ibm cos range reduction near pi/2 (bug 15359).

11 years agoFix ldbl-128 cos range reduction near pi/2 (bug 15429).
Joseph Myers [Thu, 9 May 2013 21:28:54 +0000 (21:28 +0000)]
Fix ldbl-128 cos range reduction near pi/2 (bug 15429).

11 years agoUse M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc.
Joseph Myers [Thu, 9 May 2013 14:33:30 +0000 (14:33 +0000)]
Use M_SQRT1_2l instead of local M_SQRT_2_2 in libm-test.inc.

11 years agoFix tst-mutexpi8
Andi Kleen [Thu, 9 May 2013 14:12:26 +0000 (16:12 +0200)]
Fix tst-mutexpi8

2013-05-09  Andi Kleen  <ak@linux.intel.com>

* tst-mutex8.c (do_test): Check for ENABLE_PI.

11 years agoUse M_PI_34l consistently in libm-test.inc.
Joseph Myers [Thu, 9 May 2013 14:13:10 +0000 (14:13 +0000)]
Use M_PI_34l consistently in libm-test.inc.

11 years agoUse decimal constants in defining M_* in libm-test.inc.
Joseph Myers [Thu, 9 May 2013 12:24:44 +0000 (12:24 +0000)]
Use decimal constants in defining M_* in libm-test.inc.

11 years ago Update powerpc libm-test ULPs
Adhemerval Zanella [Wed, 8 May 2013 20:06:56 +0000 (15:06 -0500)]
 Update powerpc libm-test ULPs

11 years agoFactor out initializers for libm-test.inc constants.
Joseph Myers [Wed, 8 May 2013 16:10:44 +0000 (16:10 +0000)]
Factor out initializers for libm-test.inc constants.

11 years agoUse correct TEST_* macros for jn, ldexp and yn tests.
Joseph Myers [Wed, 8 May 2013 16:09:54 +0000 (16:09 +0000)]
Use correct TEST_* macros for jn, ldexp and yn tests.

11 years agoARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.
Will Newton [Wed, 8 May 2013 12:06:34 +0000 (12:06 +0000)]
ARM: Add Cortex-A15 optimized NEON and VFP memcpy routines, with IFUNC.

11 years agoMove some libm-test logic for running tests from gen-libm-test.pl to libm-test.inc.
Joseph Myers [Wed, 8 May 2013 12:02:22 +0000 (12:02 +0000)]
Move some libm-test logic for running tests from gen-libm-test.pl to libm-test.inc.

11 years agoImprove tgamma accuracy (bugs 2546, 2560, 5159, 15426).
Joseph Myers [Wed, 8 May 2013 11:58:18 +0000 (11:58 +0000)]
Improve tgamma accuracy (bugs 2546, 2560, 5159, 15426).

11 years agoPreheat CPU in benchtests.
Ondrej Bilka [Wed, 8 May 2013 06:21:05 +0000 (08:21 +0200)]
Preheat CPU in benchtests.

A benchmark could be skewed by CPU initialy working on minimal
frequency and speeding up later. We first run code in loop
to partialy fix this issue.

11 years agoOnly defined DEV_BSIZE if not already defined.
Aurelien Jarno [Tue, 7 May 2013 22:00:46 +0000 (00:00 +0200)]
Only defined DEV_BSIZE if not already defined.

11 years agoDeclare _dl_skip_args in ldsodefs.h header.
Roland McGrath [Tue, 7 May 2013 21:49:26 +0000 (14:49 -0700)]
Declare _dl_skip_args in ldsodefs.h header.

11 years agoARM: Rewrite elf_machine_dynamic in pure C.
Roland McGrath [Tue, 7 May 2013 17:29:13 +0000 (10:29 -0700)]
ARM: Rewrite elf_machine_dynamic in pure C.

11 years agomanual/message.texi: Fix english and clarify.
Carlos O'Donell [Tue, 7 May 2013 16:33:44 +0000 (12:33 -0400)]
manual/message.texi: Fix english and clarify.

Rewrite the first paragraph to talk about users not humans,
and to use correct English.

Clarify that it is the mapping of messages to IDs that
impacts the design of the message translation API.

---

2013-05-07  Carlos O'Donell  <carlos@redhat.com>

* manual/message.texi (Message Translation): Talk about users.
Message to key mapping impacts design.

11 years agoFix glob64 broken by cleanup.
Roland McGrath [Tue, 7 May 2013 00:11:12 +0000 (17:11 -0700)]
Fix glob64 broken by cleanup.

11 years agoRemove a dead declaration.
Roland McGrath [Tue, 7 May 2013 00:06:50 +0000 (17:06 -0700)]
Remove a dead declaration.

11 years agoMove dummy glob64.c alongside glob.c that defines glob64.
Roland McGrath [Mon, 6 May 2013 23:11:11 +0000 (16:11 -0700)]
Move dummy glob64.c alongside glob.c that defines glob64.

11 years agoFlesh out stub not-cancel.h file.
Roland McGrath [Mon, 6 May 2013 23:03:35 +0000 (16:03 -0700)]
Flesh out stub not-cancel.h file.

11 years agoMove getlogin_r_chk to login/ subdir.
Roland McGrath [Mon, 6 May 2013 22:58:44 +0000 (15:58 -0700)]
Move getlogin_r_chk to login/ subdir.

11 years agoFix poll stub implementation.
Roland McGrath [Mon, 6 May 2013 22:23:51 +0000 (15:23 -0700)]
Fix poll stub implementation.

11 years agoMove ptsname_r_chk to login/ subdir.
Roland McGrath [Mon, 6 May 2013 22:19:14 +0000 (15:19 -0700)]
Move ptsname_r_chk to login/ subdir.

11 years agoMove getlogin, getlogin_r, setlogin to login/ subdir.
Roland McGrath [Mon, 6 May 2013 22:10:09 +0000 (15:10 -0700)]
Move getlogin, getlogin_r, setlogin to login/ subdir.

11 years agoFix stub setrlimit implementation.
Roland McGrath [Mon, 6 May 2013 21:58:00 +0000 (14:58 -0700)]
Fix stub setrlimit implementation.

11 years agoClean up POSIX.1 implementation of truncate.
Roland McGrath [Mon, 6 May 2013 21:56:13 +0000 (14:56 -0700)]
Clean up POSIX.1 implementation of truncate.

11 years agoInitialize x in frexp, modf, remqou tests.
Joseph Myers [Mon, 6 May 2013 20:23:40 +0000 (20:23 +0000)]
Initialize x in frexp, modf, remqou tests.

11 years agoConsistently use TEST_f_f1 in gamma tests.
Joseph Myers [Mon, 6 May 2013 20:23:01 +0000 (20:23 +0000)]
Consistently use TEST_f_f1 in gamma tests.

11 years agoARM: Add missing sfi_breg prefix in _dl_tlsdesc_dynamic code.
Roland McGrath [Mon, 6 May 2013 19:52:05 +0000 (12:52 -0700)]
ARM: Add missing sfi_breg prefix in _dl_tlsdesc_dynamic code.

11 years agoPowerPC: fix hypot/hypof FP exceptions
Adhemerval Zanella [Mon, 6 May 2013 19:40:17 +0000 (14:40 -0500)]
PowerPC: fix hypot/hypof FP exceptions

This patch fixes hypot/hypotf spurious floating-point exceptions
generate by internal operations.

11 years agoSplit _dl_writev out from _dl_debug_vdprintf.
Roland McGrath [Mon, 6 May 2013 18:30:41 +0000 (11:30 -0700)]
Split _dl_writev out from _dl_debug_vdprintf.

11 years agoRemove unused libm-test expected-failure mechanism.
Joseph Myers [Sat, 4 May 2013 16:45:15 +0000 (16:45 +0000)]
Remove unused libm-test expected-failure mechanism.

11 years agoUse static initializers for constant variables in libm-test.inc.
Joseph Myers [Sat, 4 May 2013 13:08:34 +0000 (13:08 +0000)]
Use static initializers for constant variables in libm-test.inc.

11 years agoConsolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.
Roland McGrath [Fri, 3 May 2013 23:33:26 +0000 (16:33 -0700)]
Consolidate definitions of _FORTIFY_SOURCE wrappers for open{,64}{,at}.

11 years agoFix NEED_DL_SYSINFO{,_DSO} conditionalization in _dl_sysdep_start.
Roland McGrath [Fri, 3 May 2013 22:09:48 +0000 (15:09 -0700)]
Fix NEED_DL_SYSINFO{,_DSO} conditionalization in _dl_sysdep_start.

11 years agoPowerPC: Add time vDSO support
Adhemerval Zanella [Fri, 3 May 2013 20:00:31 +0000 (15:00 -0500)]
PowerPC: Add time vDSO support

PowerPC kernel now provides a vDSO implementation for time syscall
(commit fcb41a2030abe0eb716ef0798035ef9562097f42). This patch changes
time syscall wrapper to use the vDSO when available. It also changes
the default non vDSO time on PowerPC to use sysdeps/posix/time.c
(since gettimeofday is a vDSO call).

11 years agoConsistently use TEST_f_f1 in lgamma tests.
Joseph Myers [Fri, 3 May 2013 19:05:37 +0000 (19:05 +0000)]
Consistently use TEST_f_f1 in lgamma tests.

11 years agoDon't use IGNORE_ZERO_INF_SIGN in hypot tests.
Joseph Myers [Fri, 3 May 2013 19:04:52 +0000 (19:04 +0000)]
Don't use IGNORE_ZERO_INF_SIGN in hypot tests.

11 years agoSync with Linux 3.9
Andreas Jaeger [Fri, 3 May 2013 18:51:27 +0000 (20:51 +0200)]
Sync with Linux 3.9

* 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.

11 years agoUpdate powerpc libm-test ULPs
Adhemerval Zanella [Fri, 3 May 2013 12:33:49 +0000 (07:33 -0500)]
Update powerpc libm-test ULPs

11 years agoAdd yesstr and nostr to en_CA, es_AR, and es_ES
Carlos O'Donell [Fri, 3 May 2013 03:24:21 +0000 (23:24 -0400)]
Add yesstr and nostr to en_CA, es_AR, and es_ES

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.

11 years agoAdd bug 14952 to ChangeLog and NEWS
Allan McRae [Fri, 3 May 2013 01:14:43 +0000 (11:14 +1000)]
Add bug 14952 to ChangeLog and NEWS

Fixed with commit 0695940b.

11 years agoUpdate Sparc ULPs.
David S. Miller [Thu, 2 May 2013 19:25:28 +0000 (12:25 -0700)]
Update Sparc ULPs.

* sysdeps/sparc/fpu/libm-test-ulps: Update.

11 years agoRemove duplicate __strcmp_cg
Ondrej Bilka [Wed, 1 May 2013 18:55:06 +0000 (20:55 +0200)]
Remove duplicate __strcmp_cg

The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies
these two cases into one.

11 years agoAdd missing #include in sysdeps/posix/opendir.c.
Roland McGrath [Wed, 1 May 2013 16:27:09 +0000 (09:27 -0700)]
Add missing #include in sysdeps/posix/opendir.c.

11 years agoUse __gnu_inline__ for __extern_always_inline in g++-4.2
Richard Smith [Wed, 1 May 2013 10:32:38 +0000 (20:32 +1000)]
Use __gnu_inline__ for __extern_always_inline in g++-4.2

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.

11 years agoFix catan, catanh spurious underflows (bug 15423).
Joseph Myers [Wed, 1 May 2013 10:07:00 +0000 (10:07 +0000)]
Fix catan, catanh spurious underflows (bug 15423).

11 years agoUpdate powerpc libm-test ULPs
Adhemerval Zanella [Tue, 30 Apr 2013 13:51:02 +0000 (08:51 -0500)]
Update powerpc libm-test ULPs

11 years agoAdd bug 15416 to NEWS.
Joseph Myers [Tue, 30 Apr 2013 11:29:32 +0000 (11:29 +0000)]
Add bug 15416 to NEWS.

11 years agoFix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).
Joseph Myers [Tue, 30 Apr 2013 11:27:35 +0000 (11:27 +0000)]
Fix catan, catanh inaccuracy from atan2 denominators near 0 (bug 15416).

11 years agoFormat s_sin.c
Siddhesh Poyarekar [Tue, 30 Apr 2013 08:48:57 +0000 (14:18 +0530)]
Format s_sin.c

11 years agoAllow multiple input domains to be run in the same benchmark program
Siddhesh Poyarekar [Tue, 30 Apr 2013 08:47:57 +0000 (14:17 +0530)]
Allow multiple input domains to be run in the same benchmark program

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): ...

11 years agoMaintain runtime of each benchmark at ~10 seconds
Siddhesh Poyarekar [Tue, 30 Apr 2013 08:40:20 +0000 (14:10 +0530)]
Maintain runtime of each benchmark at ~10 seconds

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

11 years agoMake stub fchdir.c define __fchdir.
Roland McGrath [Mon, 29 Apr 2013 21:30:37 +0000 (14:30 -0700)]
Make stub fchdir.c define __fchdir.

11 years agoIntegrate errno testing better in libm-test.inc.
Joseph Myers [Mon, 29 Apr 2013 20:36:48 +0000 (20:36 +0000)]
Integrate errno testing better in libm-test.inc.

11 years agoBZ#15084: Apparent typos in strings in res_debug.c
Andreas Jaeger [Mon, 29 Apr 2013 19:15:44 +0000 (21:15 +0200)]
BZ#15084: Apparent typos in strings in res_debug.c

[BZ #15084]
* resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
and RES_USEVC.

11 years agoBZ#15085: Fix comments/strings for RES_NOCHECKNAME
Andreas Jaeger [Mon, 29 Apr 2013 19:11:13 +0000 (21:11 +0200)]
BZ#15085: Fix comments/strings for RES_NOCHECKNAME

[BZ #15085]
* resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
* resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
unimplemented.

11 years agoBZ#15380: Fix initstate error return
Andreas Jaeger [Mon, 29 Apr 2013 19:02:16 +0000 (21:02 +0200)]
BZ#15380: Fix initstate error return

[BZ #15380]
* stdlib/random.c (__initstate): Return NULL if
__initstate fails.

11 years agoBZ#15086: Fix res_debug printing of options
Andreas Jaeger [Mon, 29 Apr 2013 19:00:57 +0000 (21:00 +0200)]
BZ#15086: Fix res_debug printing of options

[BZ# 15086]
* resolv/res_debug.c (p_option): Handle RES_NOALIASES,
RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
RES_SNGLKUPREOP.

11 years agoUpdate powerpc libm-test ULPs
Adhemerval Zanella [Mon, 29 Apr 2013 17:10:03 +0000 (12:10 -0500)]
Update powerpc libm-test ULPs

11 years agoAdd missing semicolons to libm-test.inc tests.
Joseph Myers [Mon, 29 Apr 2013 13:48:19 +0000 (13:48 +0000)]
Add missing semicolons to libm-test.inc tests.

11 years agoFix catan, catanh spurious overflows (bug 15409).
Joseph Myers [Sat, 27 Apr 2013 14:56:34 +0000 (14:56 +0000)]
Fix catan, catanh spurious overflows (bug 15409).

11 years agoFix ia_FR postal format
Nik Kalach [Sat, 27 Apr 2013 14:54:14 +0000 (16:54 +0200)]
Fix ia_FR postal format

2013-04-27  Nik Kalach  <nikka@fedoraproject.org>

[BZ #15221]
* locales/ia_FR: Fix postal_fmt definition.

11 years agoFix guards for qecvt
Andreas Jaeger [Sat, 27 Apr 2013 14:17:55 +0000 (16:17 +0200)]
Fix guards for qecvt

[BZ #15007]
* stdlib/stdlib.h: Update guards for qecvt.
* stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
<stdlib.h>.

11 years agoUpdate i386 libm-test ULPs
Allan McRae [Sat, 27 Apr 2013 05:13:12 +0000 (15:13 +1000)]
Update i386 libm-test ULPs

11 years agoFix catan, catanh missing underflows (bug 15406).
Joseph Myers [Fri, 26 Apr 2013 19:26:22 +0000 (19:26 +0000)]
Fix catan, catanh missing underflows (bug 15406).

11 years agoFix csin, csinh, ccos, ccosh missing underflows (bug 15405).
Joseph Myers [Fri, 26 Apr 2013 19:25:19 +0000 (19:25 +0000)]
Fix csin, csinh, ccos, ccosh missing underflows (bug 15405).

11 years agoPowerPC: modf optimization fix
Adhemerval Zanella [Fri, 26 Apr 2013 18:00:56 +0000 (13:00 -0500)]
PowerPC: modf optimization fix

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).

11 years agoUpdate x86_64 ULPs
Markus Trippelsdorf [Fri, 26 Apr 2013 07:30:46 +0000 (09:30 +0200)]
Update x86_64 ULPs

2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>

* sysdeps/x86_64/fpu/libm-test-ulps: Update.

11 years agoAdd missing bug numbers to NEWS.
Joseph Myers [Thu, 25 Apr 2013 19:34:30 +0000 (19:34 +0000)]
Add missing bug numbers to NEWS.

11 years agoMove x86_64-specific audit tests to sysdeps/x86_64/.
Joseph Myers [Thu, 25 Apr 2013 19:23:11 +0000 (19:23 +0000)]
Move x86_64-specific audit tests to sysdeps/x86_64/.

11 years agoGet rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS
Paul Pluzhnikov [Thu, 25 Apr 2013 18:08:31 +0000 (11:08 -0700)]
Get rid of __STDC_FORMAT_MACROS, __STDC_LIMIT_MACROS and __STDC_CONSTANT_MACROS

11 years agoDeclare __ehdr_start with hidden visibility.
Maciej W. Rozycki [Thu, 25 Apr 2013 15:09:19 +0000 (16:09 +0100)]
Declare __ehdr_start with hidden visibility.

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.

11 years agosoft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.
Maciej W. Rozycki [Thu, 25 Apr 2013 15:01:21 +0000 (16:01 +0100)]
soft-fp: s/sNAN/NAN/ -- no sNaNs are ever produced.