David S. Miller [Tue, 4 Dec 2012 21:05:57 +0000 (16:05 -0500)]
Fix sparc build with older compilers.
* sysdeps/generic/memcopy.h: Add multiple inclusion protection.
Joseph Myers [Tue, 4 Dec 2012 20:22:08 +0000 (20:22 +0000)]
Fix "conflicting types for built-in function" warnings from nldbl-*.c.
Joseph Myers [Tue, 4 Dec 2012 14:40:17 +0000 (14:40 +0000)]
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
Joseph Myers [Tue, 4 Dec 2012 14:39:24 +0000 (14:39 +0000)]
Fix powl inaccuracy for ldbl-128ibm (bug 14914).
Marcus Shawcroft [Tue, 4 Dec 2012 12:18:03 +0000 (12:18 +0000)]
aarch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6
* sysdeps/unix/sysv/linux/aarch64/ldconfig.h: Add entries
for /lib/ld-linux.so.3 and /lib/ld-linux-armhf.so.3.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Marcus Shawcroft [Tue, 4 Dec 2012 12:16:02 +0000 (12:16 +0000)]
aarch64: Tag ARM and AArch64 binaries in the ldconfig cache
Add the correct tags for ARM and AArch64 libraries in the ldconfig
cache for AArch64.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Marcus Shawcroft [Tue, 4 Dec 2012 12:13:06 +0000 (12:13 +0000)]
arm: Check for the FLAG_ARM_LIBHF flag in the ldconfig cache
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Marcus Shawcroft [Tue, 4 Dec 2012 11:00:19 +0000 (11:00 +0000)]
arm: Tag ARM libc6-dependent binaries with FLAG_ELF_LIBC6
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Marcus Shawcroft [Tue, 4 Dec 2012 10:50:34 +0000 (10:50 +0000)]
arm: Tag ARM and AArch64 binaries in the ldconfig cache.
Add the correct tags for ARM and AArch64 libraries in the ldconfig
cache for ARM.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Allan McRae [Mon, 3 Dec 2012 09:19:26 +0000 (19:19 +1000)]
Remove @hsep and @vsep usage from info pages
These cause an error when the info pages are build with texinfo>=4.13.90.
Jeff Law [Mon, 3 Dec 2012 20:21:22 +0000 (13:21 -0700)]
* locales/uk_UA (currency_symbol): Fix.
Mike Frysinger [Thu, 29 Nov 2012 04:04:32 +0000 (23:04 -0500)]
byteswap.h: fix gcc ver test for __builtin_bswap{32,64}
The __builtin_bswap* functions were introduced in gcc-4.3, not gcc-4.2.
Fix the __GNUC_PREREQ tests to reflect this.
Otherwise trying to compile code with gcc-4.2 falls down:
In file included from /usr/include/endian.h:60,
from /usr/include/ctype.h:40,
/usr/include/bits/byteswap.h: In function 'unsigned int __bswap_32(unsigned int)':
/usr/include/bits/byteswap.h:46: error: '__builtin_bswap32' was not declared in this scope
/usr/include/bits/byteswap.h: In function 'long long unsigned int __bswap_64(long long unsigned int)':
/usr/include/bits/byteswap.h:110: error: '__builtin_bswap64' was not declared in this scope
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Jeff Law [Mon, 3 Dec 2012 19:29:49 +0000 (12:29 -0700)]
* locales/ks_IN@devanagari: Fix week day names.
Jeff Law [Mon, 3 Dec 2012 19:15:17 +0000 (12:15 -0700)]
* time/sys/time.h (settimeofday): Do not mark TV argument
as __nonnull.
Jeff Law [Mon, 3 Dec 2012 18:16:08 +0000 (11:16 -0700)]
* locales/zh_CH (abmon): Remove whitespace.
Allan McRae [Sun, 2 Dec 2012 11:01:29 +0000 (21:01 +1000)]
Remove unneeded linking in nptl testsuite
Mike Frysinger [Sat, 1 Dec 2012 18:00:08 +0000 (13:00 -0500)]
[BZ #12724] libio: revert partial POSIX 2008 fclose support
In BZ #12724, partial support for POSIX 2008 fclose behavior was added.
Since it isn't entirely conforming to the spec, some applications are
known to be breaking in this intermediate state. So revert the partial
support until we can get things fully implemented.
This reverts commit
fcabc0f8b185f9e0a9289720be5ede6c39b3bf21.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Joseph Myers [Sat, 1 Dec 2012 00:14:58 +0000 (00:14 +0000)]
Fix typos in arith.texi.
Roland McGrath [Fri, 30 Nov 2012 21:48:39 +0000 (13:48 -0800)]
Fix type-punning warning in powerpc64 gmon-start.
Siddhesh Poyarekar [Fri, 30 Nov 2012 20:53:44 +0000 (13:53 -0700)]
* sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
* include/rpc/svc.h: ... here.
Joseph Myers [Fri, 30 Nov 2012 20:41:26 +0000 (20:41 +0000)]
Update ARM libm-test-ulps.
Joseph Myers [Fri, 30 Nov 2012 20:35:34 +0000 (20:35 +0000)]
Update MIPS libm-test-ulps.
Andreas Schwab [Fri, 30 Nov 2012 20:26:13 +0000 (21:26 +0100)]
Fix date in ChangeLog entry
Aurelien Jarno [Fri, 30 Nov 2012 20:04:27 +0000 (15:04 -0500)]
Fix assertion failures in resolver (BZ #13013).
[BZ #13013]
* resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
depending n and resplen2 to catch cases where answer
equals answerp2.
Richard Henderson [Fri, 30 Nov 2012 17:53:53 +0000 (09:53 -0800)]
alpha: Add sysdeps/alpha/sotruss-lib.c.
Joseph Myers [Fri, 30 Nov 2012 17:38:37 +0000 (17:38 +0000)]
Remove powerpc-nofpu fma ulps.
Joseph Myers [Fri, 30 Nov 2012 17:33:37 +0000 (17:33 +0000)]
Update powerpc-nofpu libm-test-ulps.
Richard Henderson [Fri, 30 Nov 2012 17:20:05 +0000 (09:20 -0800)]
alpha: Update libm-test-ulps.
Carlos O'Donell [Fri, 30 Nov 2012 02:09:12 +0000 (18:09 -0800)]
Warn about unsupported DT_FLAGS_1 flags.
The dynamic loader will now warn about unsupported DT_FLAGS_1
flags when run with LD_DEBUG=files or LD_DEBUG=all.
Mike Frysinger [Thu, 29 Nov 2012 23:12:51 +0000 (18:12 -0500)]
ia64: clock_getcpuclockid.c: drop unused file
Since we no longer support __ASSUME_POSIX_CPU_TIMERS, the ia64 code
no longer needs to override HAS_CPUCLOCK in the common file. Drop
the ia64 shim as well.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Mike Frysinger [Thu, 29 Nov 2012 23:11:17 +0000 (18:11 -0500)]
clock_getcpuclockid: delete unused HAS_CPUCLOCK
In commit
26889eacc24cd9f0cb37c5a67beac1a0ba709adf (Remove
__ASSUME_POSIX_CPU_TIMERS), all users of HAS_CPUCLOCK were
dropped. Punt the fallback definition too.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Andreas Schwab [Thu, 29 Nov 2012 23:35:55 +0000 (00:35 +0100)]
m68k: update libm-test ULPs
Joseph Myers [Thu, 29 Nov 2012 23:03:48 +0000 (23:03 +0000)]
Add 64-bit support to MIPS register-dump.h (bug 14893).
Carlos O'Donell [Thu, 29 Nov 2012 22:53:57 +0000 (14:53 -0800)]
hppa: Fix ChangeLog format issues.
Remove trailing whitespace and canonicalize path names.
Carlos O'Donell [Thu, 29 Nov 2012 22:40:36 +0000 (14:40 -0800)]
Update ChangeLog and NEWS for BZ #14197.
Carlos O'Donell [Thu, 29 Nov 2012 20:11:45 +0000 (15:11 -0500)]
hppa: Remove socket.h and implement socket_type.h.
Carlos O'Donell [Thu, 29 Nov 2012 15:24:41 +0000 (10:24 -0500)]
hppa: Cleanup two build warnings for integer to pointers casts.
Roland McGrath [Thu, 29 Nov 2012 21:35:14 +0000 (13:35 -0800)]
Fix a strict-alias warning in tst-inet6_rth.
Jeff Law [Thu, 29 Nov 2012 17:45:34 +0000 (10:45 -0700)]
[BZ #13761]
* nscd/grpcache.c (cache_addgr): Rename alloca_used to
dataset_temporary. Track alloca usage into alloca_used.
If dataset is large allocate and release it via malloc/free.
Florian Weimer [Thu, 29 Nov 2012 16:18:13 +0000 (08:18 -0800)]
Mention that __chk_fail is a public ABI in test-strcpy_chk.c
* debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
Chris Metcalf [Thu, 29 Nov 2012 16:17:29 +0000 (11:17 -0500)]
tile: remove redundant defines of libc_fetestexcept, etc. in s_fmaf.c
Carlos O'Donell [Thu, 29 Nov 2012 15:08:31 +0000 (10:08 -0500)]
hppa: Add BZ#14447 to NEWS and ChangeLog.hppa.
Marcus Shawcroft [Thu, 29 Nov 2012 10:11:44 +0000 (10:11 +0000)]
aarch64: Use FLAG_AARCH64_LIB64 ldconfig cache tag.
Use the new FLAG_AARCH64_LIB64 ldconfig cache tag for AArch64,
similarly to the way tags are handled for other architectures.
Signed-off-by: Steve McIntyre <steve.mcintyre@linaro.org>
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Marcus Shawcroft <marcus.shawcroft@linaro.org>
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