Nik Kalach [Thu, 29 Nov 2012 08:00:06 +0000 (09:00 +0100)]
Fix abmon December entry in ia_FR
* locales/ia_FR (abmon): Fix December.
Nik Kalach [Thu, 29 Nov 2012 07:31:13 +0000 (08:31 +0100)]
Add Interlingua locale
[BZ#14879]
* locales/ia_FR : New file
* SUPPORTED (SUPPORTED-LOCALES): Add appropriate entry.
David S. Miller [Thu, 29 Nov 2012 01:42:09 +0000 (17:42 -0800)]
Update sparc ULPs for recently added pow tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Joseph Myers [Wed, 28 Nov 2012 21:46:16 +0000 (21:46 +0000)]
Use hex float 64-bit values in ldbl-96 asinl (bug 14803).
Jeff Law [Wed, 28 Nov 2012 21:12:28 +0000 (14:12 -0700)]
[BZ #14889]
* sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
* sunrpc/svc.c: Include time.h.
(__svc_accept_failed): New function.
* sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
any reason other than EINTR, call __svc_accept_failed.
* sunrpc/svc_udp.c (svcudp_recv): Similarly.
* sunrpc/svc_unix.c (rendezvous_request): Similarly.
Joseph Myers [Wed, 28 Nov 2012 17:07:39 +0000 (17:07 +0000)]
Add more NEWS items for 2.17.
Andreas Schwab [Wed, 28 Nov 2012 09:24:06 +0000 (10:24 +0100)]
Properly handle indirect functions in ABI check on powerpc64
Andreas Schwab [Tue, 27 Nov 2012 15:43:14 +0000 (16:43 +0100)]
Revert "2012-11-07 Andreas Jaeger <aj@suse.de>"
This reverts commit
01f34a3bd8c087ca4be0bd24857e454c8d29f20b.
The issue has been fixed in the kernel.
Joseph Myers [Wed, 28 Nov 2012 13:40:54 +0000 (13:40 +0000)]
Fix powl inaccuracy for x86_64 and x86 (bug 13881).
Siddhesh Poyarekar [Wed, 28 Nov 2012 01:15:50 +0000 (06:45 +0530)]
Fix hashtable size calculation when database has exactly one record
The hash function needs a hashtable of at least size 3 or greater.
Siddhesh Poyarekar [Tue, 27 Nov 2012 19:29:27 +0000 (00:59 +0530)]
Make fwrite return 0 on EOF
H.J. Lu [Tue, 27 Nov 2012 00:42:38 +0000 (16:42 -0800)]
Cast to __intptr_t before casting pointer to int64
Joseph Myers [Tue, 27 Nov 2012 00:01:10 +0000 (00:01 +0000)]
Fix strict-aliasing warnings from unwind-dw2-fde.c.
Andreas Schwab [Mon, 26 Nov 2012 19:58:27 +0000 (20:58 +0100)]
sotruss: fix argument parsing
Andreas Schwab [Fri, 23 Nov 2012 21:23:38 +0000 (22:23 +0100)]
m68k/cf: fix copying frame in _dl_runtime_profile
Andreas Schwab [Fri, 23 Nov 2012 16:30:33 +0000 (17:30 +0100)]
m68k: add sotruss-lib.c
Adam Conrad [Sun, 25 Nov 2012 06:58:38 +0000 (23:58 -0700)]
Fix C++ header directory detection for non-standard paths.
Stop assuming specific path layouts for C++ headers, and instead
use an autodetection method that looks for paths with '/[cg]++'
in the g++ include list.
Mike Frysinger [Thu, 22 Nov 2012 21:34:04 +0000 (16:34 -0500)]
use $(READELF) rather than readelf
We setup $(READELF) and use it everywhere, so fix the two places
that were using readelf directly.
Reported-by: Denis M. <god@politeia.in>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Andreas Schwab [Fri, 23 Nov 2012 15:29:19 +0000 (16:29 +0100)]
Update powerpc libm-test ULPs
Joseph Myers [Thu, 22 Nov 2012 19:57:58 +0000 (19:57 +0000)]
Disable some fma tests for ldbl-128ibm.
Joseph Myers [Thu, 22 Nov 2012 19:56:47 +0000 (19:56 +0000)]
Fix ldbl-128ibm atanl spurious underflows (bug 14871).
Joseph Myers [Thu, 22 Nov 2012 16:47:54 +0000 (16:47 +0000)]
Mark unwind-dw2-fde-glibc.c variable possibly unused.
Joseph Myers [Thu, 22 Nov 2012 15:00:35 +0000 (15:00 +0000)]
Fix sign of inexact zero results for ldbl-128ibm fmal.
Joseph Myers [Thu, 22 Nov 2012 14:59:45 +0000 (14:59 +0000)]
Fix ldbl-128ibm powl spurious underflows.
Joseph Myers [Thu, 22 Nov 2012 14:58:41 +0000 (14:58 +0000)]
Fix ldbl-128ibm hypotl internal underflows (bug 14869).
Joseph Myers [Thu, 22 Nov 2012 14:57:22 +0000 (14:57 +0000)]
Fix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).
Joseph Myers [Thu, 22 Nov 2012 14:56:14 +0000 (14:56 +0000)]
Mark some clog / clog10 underflows as expected for IBM long double.
Joseph Myers [Thu, 22 Nov 2012 14:55:17 +0000 (14:55 +0000)]
Fix expm1l spurious underflows for ldbl-128ibm.
Andreas Schwab [Thu, 22 Nov 2012 13:51:42 +0000 (14:51 +0100)]
Update i386 libm-test ULPs
Pino Toscano [Thu, 22 Nov 2012 10:34:03 +0000 (11:34 +0100)]
test-multiarch: terminate printf output with newline
Marcus Shawcroft [Thu, 22 Nov 2012 06:37:58 +0000 (06:37 +0000)]
aarch64: Re-generate libm-test-ulps.
Andreas Jaeger [Thu, 22 Nov 2012 06:32:31 +0000 (07:32 +0100)]
Fix comment in niu_NU
Joseph Myers [Thu, 22 Nov 2012 02:37:02 +0000 (02:37 +0000)]
Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
Andreas Schwab [Wed, 21 Nov 2012 17:42:04 +0000 (18:42 +0100)]
m68k: fix return value of lll_futex_timed_wait_bitset
Joseph Myers [Wed, 21 Nov 2012 21:04:33 +0000 (21:04 +0000)]
Avoid $(shell) in determining default ARM ABI.
Andreas Jaeger [Wed, 21 Nov 2012 21:02:03 +0000 (22:02 +0100)]
Fix szl_PL locale
* locales/szl_PL (LC_COLLATE): Fix syntax error.
Andreas Jaeger [Wed, 21 Nov 2012 20:42:38 +0000 (21:42 +0100)]
Fix typo for ayc_PE
* SUPPORTED (SUPPORTED-LOCALES): Fix typo for ayc_PE entry.
Chris Leonard [Wed, 21 Nov 2012 20:33:27 +0000 (21:33 +0100)]
Add locales niu_NU and niu_NZ
2012-11-21 Chris Leonard <cjl@sugarlabs.org>
[BZ #14863]
* SUPPORTED: Add niu_NU and niu_NZ.
* locales/niu_NU: Add Niuean (Vagahau Niue) locale for Niue,
contributed by Chris Leonard <cjl@sugarlabs.org> and Emani
Fakaotimanava-Lui <emani@niue.nu>.
* locales/niu_NZ: Add Niuean (Vagahau Niue) locale for New
Zealand, contributed by Chris Leonard <cjl@sugarlabs.org> and Emani
Fakaotimanava-Lui <emani@niue.nu>.
H.J. Lu [Wed, 21 Nov 2012 20:31:01 +0000 (12:31 -0800)]
Properly check linker -z XXX support
Joseph Myers [Wed, 21 Nov 2012 20:26:56 +0000 (20:26 +0000)]
Make ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).
Joseph Myers [Wed, 21 Nov 2012 20:00:52 +0000 (20:00 +0000)]
Remove unused variable from sem_post.c.
Joseph Myers [Wed, 21 Nov 2012 20:00:11 +0000 (20:00 +0000)]
Remove unused variable from pthread_cond_timedwait.c.
Joseph Myers [Wed, 21 Nov 2012 16:41:57 +0000 (16:41 +0000)]
Cast to uintptr_t in MIPS jmpbuf-unwind.h.
H.J. Lu [Wed, 21 Nov 2012 14:33:19 +0000 (06:33 -0800)]
Check supported DF_1_XXX bits
Marcus Shawcroft [Wed, 21 Nov 2012 12:24:11 +0000 (12:24 +0000)]
aarch64: Fix lll_futex_timed_wait_bitset return value sign.
The implementation of lll_futex_timed_wait_bitset should not be negating
the futex syscall return value on error.
Marcus Shawcroft [Wed, 21 Nov 2012 08:03:01 +0000 (08:03 +0000)]
aarch64: Remove weak_aliasx macro.
Marcus Shawcroft [Wed, 21 Nov 2012 08:01:57 +0000 (08:01 +0000)]
aarch64: Remove support for NO_LONG_DOUBLE.
Marcus Shawcroft [Tue, 20 Nov 2012 23:14:25 +0000 (23:14 +0000)]
aarch64: Indent preprocessor directives.
Marcus Shawcroft [Tue, 20 Nov 2012 23:13:14 +0000 (23:13 +0000)]
aarch64: Use range in copyright years.
Marcus Shawcroft [Tue, 20 Nov 2012 23:10:51 +0000 (23:10 +0000)]
aarch64: Rename .x files to .c
Marcus Shawcroft [Tue, 20 Nov 2012 23:06:26 +0000 (23:06 +0000)]
aarch64: Don't use K&R C
Joseph Myers [Wed, 21 Nov 2012 02:29:29 +0000 (02:29 +0000)]
Add sotruss-lib.c for MIPS.
Chris Metcalf [Tue, 20 Nov 2012 20:06:38 +0000 (15:06 -0500)]
tile: update libm-test-ulps for new tests
Chris Metcalf [Tue, 20 Nov 2012 20:05:59 +0000 (15:05 -0500)]
tile: Fix __bswap_64 return type in tile bits/byteswap.h
Chris Metcalf [Tue, 20 Nov 2012 20:05:32 +0000 (15:05 -0500)]
tile: remove redundant defines of libc_fetestexcept, etc. in s_fma.c
Andreas Schwab [Tue, 20 Nov 2012 19:28:24 +0000 (20:28 +0100)]
m68k: Remove indirection through weak_aliasx
Carlos O'Donell [Tue, 20 Nov 2012 18:54:47 +0000 (13:54 -0500)]
Document syscall signature prefixes in sysdep/unix/make-syscalls.sh
Thomas Schwinge [Tue, 20 Nov 2012 18:29:23 +0000 (19:29 +0100)]
sysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.
Fixes fallout from commit
2e64d2659d3edaebc792ac596a9863f1626e5c25.
Thomas Schwinge [Sat, 3 Nov 2012 17:29:46 +0000 (18:29 +0100)]
Add recvmmsg and sendmmsg to the generic glibc API.
Joseph Myers [Tue, 20 Nov 2012 14:26:07 +0000 (14:26 +0000)]
Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.
Joseph Myers [Tue, 20 Nov 2012 02:45:45 +0000 (02:45 +0000)]
Use parentheses around MIPS syscall macro arguments.
Joseph Myers [Tue, 20 Nov 2012 02:40:12 +0000 (02:40 +0000)]
Fix int-to-pointer-cast warnings for MIPS.
Joseph Myers [Tue, 20 Nov 2012 00:56:29 +0000 (00:56 +0000)]
Fix warnings from aborting MIPS atomic macros.
Joseph Myers [Tue, 20 Nov 2012 00:05:23 +0000 (00:05 +0000)]
Fix more set-but-not-used warnings in _itowa.c.
Joseph Myers [Tue, 20 Nov 2012 00:04:45 +0000 (00:04 +0000)]
Fix __bswap_64 return type in generic bits/byteswap.h.
Joseph Myers [Tue, 20 Nov 2012 00:00:35 +0000 (00:00 +0000)]
Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.
Pino Toscano [Mon, 19 Nov 2012 23:49:11 +0000 (00:49 +0100)]
Hurd: fixes for ptsname and ptsname_r
ptsname_r on failure returns the value that is also set as errno; furthermore,
add more checks to it:
- set errno and return it on __term_get_peername failure
- set errno to ERANGE other than returning it
- change the type of PEERNAME to string_t, and check its length with __strnlen
In ptsname:
- change the type of PEERNAME to string_t
- do not set errno manually, since ptsname_r has set it already
David S. Miller [Mon, 19 Nov 2012 23:26:52 +0000 (15:26 -0800)]
Fix spurious underflows in ldbl-128 atan implementation.
With help from Joseph Myers.
* sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
very large arguments properly.
* math/libm-test.inc (atan_test): New tests.
(atan2_test): New tests.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
Joseph Myers [Mon, 19 Nov 2012 23:36:20 +0000 (23:36 +0000)]
Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).
Joseph Myers [Mon, 19 Nov 2012 23:08:27 +0000 (23:08 +0000)]
Fix unused variable warnings from MIPS syscall macros.
Joseph Myers [Mon, 19 Nov 2012 22:21:47 +0000 (22:21 +0000)]
conformtest: Clean up expectations for POSIX for more headers.
Joseph Myers [Mon, 19 Nov 2012 22:20:44 +0000 (22:20 +0000)]
conformtest: Clean up expectations for POSIX for various headers.
Joseph Myers [Mon, 19 Nov 2012 22:19:11 +0000 (22:19 +0000)]
conformtest: Fix miscellaneous expectations for XPG4.
Joseph Myers [Mon, 19 Nov 2012 22:17:58 +0000 (22:17 +0000)]
Define siginfo_t in signal.h for XPG4 (bug 14835).
Eagle Burkut [Mon, 19 Nov 2012 19:12:54 +0000 (20:12 +0100)]
Fix ug_CN
[BZ #13759]
* locales/ug_CN (LC_COLLATE, LC_TIME, LC_MESSAGES): Fix entries.
Pino Toscano [Mon, 19 Nov 2012 19:01:00 +0000 (20:01 +0100)]
muntrace: reset file and hooks before finalizing the stream
fclose will call free, invoking its hook, then fprintf which would indirectly
try to allocate a buffer, and this can cause malloc to be used (thus its hook
to be invoked) if libio uses malloc instead of mmap; given any malloc/free hook
locks the internal lock, this leads to a deadlock.
To prevent this hook roundtrip at muntrace, first unset MALLSTREAM and the
hooks, and only after that close the trace file.
Pino Toscano [Mon, 19 Nov 2012 18:34:07 +0000 (19:34 +0100)]
Hurd: implement syncfs
Marcus Shawcroft [Mon, 19 Nov 2012 15:15:18 +0000 (15:15 +0000)]
AArch64: Adding optimized maths functions.
Siddhesh Poyarekar [Mon, 19 Nov 2012 07:31:43 +0000 (13:01 +0530)]
Return EAI_SYSTEM if we're out of file descriptors
Resolves BZ #14719.
Peng Haitao [Mon, 19 Nov 2012 06:53:07 +0000 (01:53 -0500)]
bindresvport() uses two static variables port and startport which are not
protected. It is not safe when in multithread circumstance.
bindresvport() select a port number from the range 512 to 1023, when in
multithread circumstance, the port may be 1024. So the static variables will be
protected.
Signed-off-by: Peng Haitao <penght@cn.fujitsu.com>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Steve McIntyre [Mon, 19 Nov 2012 06:22:33 +0000 (01:22 -0500)]
Add ldconfig cache tag handling for AArch64
* sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
* elf/cache.c (print_entry): Print ",AArch64" for
FLAG_AARCH64_LIB64.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Steve McIntyre [Mon, 19 Nov 2012 06:12:53 +0000 (01:12 -0500)]
Add ldconfig cache tag handling for ARM hard-float ABI
* sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
* elf/cache.c (print_entry): Print ",hard-float" for
FLAG_ARM_LIBHF.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Carlos O'Donell [Mon, 19 Nov 2012 05:55:04 +0000 (00:55 -0500)]
hppa: Mark __pthread_once as a hidden def.
Carlos O'Donell [Mon, 19 Nov 2012 05:44:00 +0000 (00:44 -0500)]
hppa: Fix fesetenv for FE_DFL_ENV.
Switching back to FE_DFL_ENV should reset the FPU to the state
as it was at the start of the program.
Carlos O'Donell [Mon, 19 Nov 2012 05:40:05 +0000 (00:40 -0500)]
hppa: Implement get-rounding-mode.h
Implement get_rounding_mode using the new fpu_control.h
support. Use get_rounding_mode from fegetround.
Carlos O'Donell [Mon, 19 Nov 2012 05:37:56 +0000 (00:37 -0500)]
hppa: Implement fpu_control.h.
The HP-PARISC processor has full IEEE-754 support
and we implement all of fpu_control.h.
Carlos O'Donell [Mon, 19 Nov 2012 05:36:08 +0000 (00:36 -0500)]
hppa: Add ____longjmp_check C implementation.
Carlos O'Donell [Mon, 19 Nov 2012 05:28:30 +0000 (00:28 -0500)]
hppa: Implement __longjmp_chk.
Implement longjmp and the chk variant in C.
David S. Miller [Sun, 18 Nov 2012 20:33:53 +0000 (12:33 -0800)]
Correct tinyness handling in long-double and float y0/y1.
With help from Joseph Myers.
* sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
cutoff to 2**-13.
* sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
cutoff to 2**-25.
* sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
small.
* sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
* math/libm-test.inc (y0_test): New tests.
(y1_test): New tests.
* sysdeps/i386/fpu/libm-test-ulps: Update.
* sysdeps/x86_64/fpu/libm-test-ulps: Update.
* sysdeps/sparc/fpu/libm-test-ulps: Update.
Andreas Schwab [Tue, 30 Oct 2012 20:51:58 +0000 (21:51 +0100)]
Fix ifunc configure check for 64-bit targets
Andreas Schwab [Sun, 18 Nov 2012 00:07:22 +0000 (01:07 +0100)]
m68k: fix cancellable syscall with 5 or 6 arguments
Andreas Schwab [Thu, 15 Nov 2012 18:34:31 +0000 (19:34 +0100)]
m68k: define ELF_MACHINE_RUNTIME_FIXUP_PARAMS
Andreas Schwab [Tue, 6 Nov 2012 21:34:29 +0000 (22:34 +0100)]
m68k: update libm test ULPs
Andreas Schwab [Tue, 6 Nov 2012 20:21:53 +0000 (21:21 +0100)]
m68k: define lll_futex_timed_wait_bitset
David S. Miller [Sat, 17 Nov 2012 05:39:54 +0000 (21:39 -0800)]
Fix BZ #14811 for ldbl-128 too.
[BZ #14811]
* sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
nonzero exponents with absolute value below 0x1p-128 to +/-
0x1p-128.
Joseph Myers [Sat, 17 Nov 2012 03:43:53 +0000 (03:43 +0000)]
Include string.h in sysdeps/unix/sysv/linux/fxstatat.c.
Joseph Myers [Sat, 17 Nov 2012 03:35:27 +0000 (03:35 +0000)]
Fix "set but not used" warnings from MIPS bits/atomic.h.
Joseph Myers [Sat, 17 Nov 2012 01:51:20 +0000 (01:51 +0000)]
Remove ELF_MACHINE_NO_PLT conditionals.
Joseph Myers [Sat, 17 Nov 2012 01:49:19 +0000 (01:49 +0000)]
Generate /usr/libexec/getconf files when cross-compiling.
Pino Toscano [Fri, 16 Nov 2012 17:55:19 +0000 (18:55 +0100)]
check-local-headers: ignore Mach kernel headers