external/glibc.git
11 years ago * locales/zh_CH (abmon): Remove whitespace.
Jeff Law [Mon, 3 Dec 2012 18:16:08 +0000 (11:16 -0700)]
    * locales/zh_CH (abmon): Remove whitespace.

11 years agoRemove unneeded linking in nptl testsuite
Allan McRae [Sun, 2 Dec 2012 11:01:29 +0000 (21:01 +1000)]
Remove unneeded linking in nptl testsuite

11 years ago[BZ #12724] libio: revert partial POSIX 2008 fclose support
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>
11 years agoFix typos in arith.texi.
Joseph Myers [Sat, 1 Dec 2012 00:14:58 +0000 (00:14 +0000)]
Fix typos in arith.texi.

11 years agoFix type-punning warning in powerpc64 gmon-start.
Roland McGrath [Fri, 30 Nov 2012 21:48:39 +0000 (13:48 -0800)]
Fix type-punning warning in powerpc64 gmon-start.

11 years ago * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
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.

11 years agoUpdate ARM libm-test-ulps.
Joseph Myers [Fri, 30 Nov 2012 20:41:26 +0000 (20:41 +0000)]
Update ARM libm-test-ulps.

11 years agoUpdate MIPS libm-test-ulps.
Joseph Myers [Fri, 30 Nov 2012 20:35:34 +0000 (20:35 +0000)]
Update MIPS libm-test-ulps.

11 years agoFix date in ChangeLog entry
Andreas Schwab [Fri, 30 Nov 2012 20:26:13 +0000 (21:26 +0100)]
Fix date in ChangeLog entry

11 years agoFix assertion failures in resolver (BZ #13013).
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.

11 years agoalpha: Add sysdeps/alpha/sotruss-lib.c.
Richard Henderson [Fri, 30 Nov 2012 17:53:53 +0000 (09:53 -0800)]
alpha: Add sysdeps/alpha/sotruss-lib.c.

11 years agoRemove powerpc-nofpu fma ulps.
Joseph Myers [Fri, 30 Nov 2012 17:38:37 +0000 (17:38 +0000)]
Remove powerpc-nofpu fma ulps.

11 years agoUpdate powerpc-nofpu libm-test-ulps.
Joseph Myers [Fri, 30 Nov 2012 17:33:37 +0000 (17:33 +0000)]
Update powerpc-nofpu libm-test-ulps.

11 years agoalpha: Update libm-test-ulps.
Richard Henderson [Fri, 30 Nov 2012 17:20:05 +0000 (09:20 -0800)]
alpha: Update libm-test-ulps.

11 years agoWarn about unsupported DT_FLAGS_1 flags.
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.

11 years agoia64: clock_getcpuclockid.c: drop unused file
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>
11 years agoclock_getcpuclockid: delete unused HAS_CPUCLOCK
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>
11 years agom68k: update libm-test ULPs
Andreas Schwab [Thu, 29 Nov 2012 23:35:55 +0000 (00:35 +0100)]
m68k: update libm-test ULPs

11 years agoAdd 64-bit support to MIPS register-dump.h (bug 14893).
Joseph Myers [Thu, 29 Nov 2012 23:03:48 +0000 (23:03 +0000)]
Add 64-bit support to MIPS register-dump.h (bug 14893).

11 years agohppa: Fix ChangeLog format issues.
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.

11 years agoUpdate ChangeLog and NEWS for BZ #14197.
Carlos O'Donell [Thu, 29 Nov 2012 22:40:36 +0000 (14:40 -0800)]
Update ChangeLog and NEWS for BZ #14197.

11 years agohppa: Remove socket.h and implement socket_type.h.
Carlos O'Donell [Thu, 29 Nov 2012 20:11:45 +0000 (15:11 -0500)]
hppa: Remove socket.h and implement socket_type.h.

11 years agohppa: Cleanup two build warnings for integer to pointers casts.
Carlos O'Donell [Thu, 29 Nov 2012 15:24:41 +0000 (10:24 -0500)]
hppa: Cleanup two build warnings for integer to pointers casts.

11 years agoFix a strict-alias warning in tst-inet6_rth.
Roland McGrath [Thu, 29 Nov 2012 21:35:14 +0000 (13:35 -0800)]
Fix a strict-alias warning in tst-inet6_rth.

11 years ago [BZ #13761]
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.

11 years agoMention that __chk_fail is a public ABI in test-strcpy_chk.c
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.

11 years agotile: remove redundant defines of libc_fetestexcept, etc. in s_fmaf.c
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

11 years agohppa: Add BZ#14447 to NEWS and ChangeLog.hppa.
Carlos O'Donell [Thu, 29 Nov 2012 15:08:31 +0000 (10:08 -0500)]
hppa: Add BZ#14447 to NEWS and ChangeLog.hppa.

11 years agoaarch64: Use FLAG_AARCH64_LIB64 ldconfig cache tag.
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>
11 years agoFix abmon December entry in ia_FR
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.

11 years agoAdd Interlingua locale
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.

11 years agoUpdate sparc ULPs for recently added pow tests.
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.

11 years agoUse hex float 64-bit values in ldbl-96 asinl (bug 14803).
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).

11 years ago [BZ #14889]
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.

11 years agoAdd more NEWS items for 2.17.
Joseph Myers [Wed, 28 Nov 2012 17:07:39 +0000 (17:07 +0000)]
Add more NEWS items for 2.17.

11 years agoProperly handle indirect functions in ABI check on powerpc64
Andreas Schwab [Wed, 28 Nov 2012 09:24:06 +0000 (10:24 +0100)]
Properly handle indirect functions in ABI check on powerpc64

11 years agoRevert "2012-11-07 Andreas Jaeger <aj@suse.de>"
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.

11 years agoFix powl inaccuracy for x86_64 and x86 (bug 13881).
Joseph Myers [Wed, 28 Nov 2012 13:40:54 +0000 (13:40 +0000)]
Fix powl inaccuracy for x86_64 and x86 (bug 13881).

11 years agoFix hashtable size calculation when database has exactly one record
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.

11 years agoMake fwrite return 0 on EOF
Siddhesh Poyarekar [Tue, 27 Nov 2012 19:29:27 +0000 (00:59 +0530)]
Make fwrite return 0 on EOF

11 years agoCast to __intptr_t before casting pointer to int64
H.J. Lu [Tue, 27 Nov 2012 00:42:38 +0000 (16:42 -0800)]
Cast to __intptr_t before casting pointer to int64

11 years agoFix strict-aliasing warnings from unwind-dw2-fde.c.
Joseph Myers [Tue, 27 Nov 2012 00:01:10 +0000 (00:01 +0000)]
Fix strict-aliasing warnings from unwind-dw2-fde.c.

11 years agosotruss: fix argument parsing
Andreas Schwab [Mon, 26 Nov 2012 19:58:27 +0000 (20:58 +0100)]
sotruss: fix argument parsing

11 years agom68k/cf: fix copying frame in _dl_runtime_profile
Andreas Schwab [Fri, 23 Nov 2012 21:23:38 +0000 (22:23 +0100)]
m68k/cf: fix copying frame in _dl_runtime_profile

11 years agom68k: add sotruss-lib.c
Andreas Schwab [Fri, 23 Nov 2012 16:30:33 +0000 (17:30 +0100)]
m68k: add sotruss-lib.c

11 years agoFix C++ header directory detection for non-standard paths.
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.

11 years agouse $(READELF) rather than readelf
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>
11 years agoUpdate powerpc libm-test ULPs
Andreas Schwab [Fri, 23 Nov 2012 15:29:19 +0000 (16:29 +0100)]
Update powerpc libm-test ULPs

11 years agoDisable some fma tests for ldbl-128ibm.
Joseph Myers [Thu, 22 Nov 2012 19:57:58 +0000 (19:57 +0000)]
Disable some fma tests for ldbl-128ibm.

11 years agoFix ldbl-128ibm atanl spurious underflows (bug 14871).
Joseph Myers [Thu, 22 Nov 2012 19:56:47 +0000 (19:56 +0000)]
Fix ldbl-128ibm atanl spurious underflows (bug 14871).

11 years agoMark unwind-dw2-fde-glibc.c variable possibly unused.
Joseph Myers [Thu, 22 Nov 2012 16:47:54 +0000 (16:47 +0000)]
Mark unwind-dw2-fde-glibc.c variable possibly unused.

11 years agoFix sign of inexact zero results for ldbl-128ibm fmal.
Joseph Myers [Thu, 22 Nov 2012 15:00:35 +0000 (15:00 +0000)]
Fix sign of inexact zero results for ldbl-128ibm fmal.

11 years agoFix ldbl-128ibm powl spurious underflows.
Joseph Myers [Thu, 22 Nov 2012 14:59:45 +0000 (14:59 +0000)]
Fix ldbl-128ibm powl spurious underflows.

11 years agoFix ldbl-128ibm hypotl internal underflows (bug 14869).
Joseph Myers [Thu, 22 Nov 2012 14:58:41 +0000 (14:58 +0000)]
Fix ldbl-128ibm hypotl internal underflows (bug 14869).

11 years agoFix ldbl-128ibm hypotl inaccuracy for arguments with large ratio (bug 14868).
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).

11 years agoMark some clog / clog10 underflows as expected for IBM long double.
Joseph Myers [Thu, 22 Nov 2012 14:56:14 +0000 (14:56 +0000)]
Mark some clog / clog10 underflows as expected for IBM long double.

11 years agoFix expm1l spurious underflows for ldbl-128ibm.
Joseph Myers [Thu, 22 Nov 2012 14:55:17 +0000 (14:55 +0000)]
Fix expm1l spurious underflows for ldbl-128ibm.

11 years agoUpdate i386 libm-test ULPs
Andreas Schwab [Thu, 22 Nov 2012 13:51:42 +0000 (14:51 +0100)]
Update i386 libm-test ULPs

11 years agotest-multiarch: terminate printf output with newline
Pino Toscano [Thu, 22 Nov 2012 10:34:03 +0000 (11:34 +0100)]
test-multiarch: terminate printf output with newline

11 years agoaarch64: Re-generate libm-test-ulps.
Marcus Shawcroft [Thu, 22 Nov 2012 06:37:58 +0000 (06:37 +0000)]
aarch64: Re-generate libm-test-ulps.

11 years agoFix comment in niu_NU
Andreas Jaeger [Thu, 22 Nov 2012 06:32:31 +0000 (07:32 +0100)]
Fix comment in niu_NU

11 years agoImplement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).
Joseph Myers [Thu, 22 Nov 2012 02:37:02 +0000 (02:37 +0000)]
Implement MIPS n64 sendfile64 as alias of sendfile syscall (bug 14822).

11 years agom68k: fix return value of lll_futex_timed_wait_bitset
Andreas Schwab [Wed, 21 Nov 2012 17:42:04 +0000 (18:42 +0100)]
m68k: fix return value of lll_futex_timed_wait_bitset

11 years agoAvoid $(shell) in determining default ARM ABI.
Joseph Myers [Wed, 21 Nov 2012 21:04:33 +0000 (21:04 +0000)]
Avoid $(shell) in determining default ARM ABI.

11 years agoFix szl_PL locale
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.

11 years agoFix typo for ayc_PE
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.

11 years agoAdd locales niu_NU and niu_NZ
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>.

11 years agoProperly check linker -z XXX support
H.J. Lu [Wed, 21 Nov 2012 20:31:01 +0000 (12:31 -0800)]
Properly check linker -z XXX support

11 years agoMake ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).
Joseph Myers [Wed, 21 Nov 2012 20:26:56 +0000 (20:26 +0000)]
Make ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).

11 years agoRemove unused variable from sem_post.c.
Joseph Myers [Wed, 21 Nov 2012 20:00:52 +0000 (20:00 +0000)]
Remove unused variable from sem_post.c.

11 years agoRemove unused variable from pthread_cond_timedwait.c.
Joseph Myers [Wed, 21 Nov 2012 20:00:11 +0000 (20:00 +0000)]
Remove unused variable from pthread_cond_timedwait.c.

11 years agoCast to uintptr_t in MIPS jmpbuf-unwind.h.
Joseph Myers [Wed, 21 Nov 2012 16:41:57 +0000 (16:41 +0000)]
Cast to uintptr_t in MIPS jmpbuf-unwind.h.

11 years agoCheck supported DF_1_XXX bits
H.J. Lu [Wed, 21 Nov 2012 14:33:19 +0000 (06:33 -0800)]
Check supported DF_1_XXX bits

11 years agoaarch64: Fix lll_futex_timed_wait_bitset return value sign.
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.

11 years agoaarch64: Remove weak_aliasx macro.
Marcus Shawcroft [Wed, 21 Nov 2012 08:03:01 +0000 (08:03 +0000)]
aarch64: Remove weak_aliasx macro.

11 years agoaarch64: Remove support for NO_LONG_DOUBLE.
Marcus Shawcroft [Wed, 21 Nov 2012 08:01:57 +0000 (08:01 +0000)]
aarch64: Remove support for NO_LONG_DOUBLE.

11 years agoaarch64: Indent preprocessor directives.
Marcus Shawcroft [Tue, 20 Nov 2012 23:14:25 +0000 (23:14 +0000)]
aarch64: Indent preprocessor directives.

11 years agoaarch64: Use range in copyright years.
Marcus Shawcroft [Tue, 20 Nov 2012 23:13:14 +0000 (23:13 +0000)]
aarch64: Use range in copyright years.

11 years agoaarch64: Rename .x files to .c
Marcus Shawcroft [Tue, 20 Nov 2012 23:10:51 +0000 (23:10 +0000)]
aarch64: Rename .x files to .c

11 years agoaarch64: Don't use K&R C
Marcus Shawcroft [Tue, 20 Nov 2012 23:06:26 +0000 (23:06 +0000)]
aarch64: Don't use K&R C

11 years agoAdd sotruss-lib.c for MIPS.
Joseph Myers [Wed, 21 Nov 2012 02:29:29 +0000 (02:29 +0000)]
Add sotruss-lib.c for MIPS.

11 years agotile: update libm-test-ulps for new tests
Chris Metcalf [Tue, 20 Nov 2012 20:06:38 +0000 (15:06 -0500)]
tile: update libm-test-ulps for new tests

11 years agotile: Fix __bswap_64 return type in tile bits/byteswap.h
Chris Metcalf [Tue, 20 Nov 2012 20:05:59 +0000 (15:05 -0500)]
tile: Fix __bswap_64 return type in tile bits/byteswap.h

11 years agotile: remove redundant defines of libc_fetestexcept, etc. in s_fma.c
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

11 years agom68k: Remove indirection through weak_aliasx
Andreas Schwab [Tue, 20 Nov 2012 19:28:24 +0000 (20:28 +0100)]
m68k: Remove indirection through weak_aliasx

11 years agoDocument syscall signature prefixes in sysdep/unix/make-syscalls.sh
Carlos O'Donell [Tue, 20 Nov 2012 18:54:47 +0000 (13:54 -0500)]
Document syscall signature prefixes in sysdep/unix/make-syscalls.sh

11 years agosysdeps/sh/dl-machine.h: Define ELF_MACHINE_RUNTIME_FIXUP_PARAMS.
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.

11 years agoAdd recvmmsg and sendmmsg to the generic glibc API.
Thomas Schwinge [Sat, 3 Nov 2012 17:29:46 +0000 (18:29 +0100)]
Add recvmmsg and sendmmsg to the generic glibc API.

11 years agoFix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.
Joseph Myers [Tue, 20 Nov 2012 14:26:07 +0000 (14:26 +0000)]
Fix set-but-not-used warnings in ldbl-128 nearbyintl, rintl.

11 years agoUse parentheses around MIPS syscall macro arguments.
Joseph Myers [Tue, 20 Nov 2012 02:45:45 +0000 (02:45 +0000)]
Use parentheses around MIPS syscall macro arguments.

11 years agoFix int-to-pointer-cast warnings for MIPS.
Joseph Myers [Tue, 20 Nov 2012 02:40:12 +0000 (02:40 +0000)]
Fix int-to-pointer-cast warnings for MIPS.

11 years agoFix warnings from aborting MIPS atomic macros.
Joseph Myers [Tue, 20 Nov 2012 00:56:29 +0000 (00:56 +0000)]
Fix warnings from aborting MIPS atomic macros.

11 years agoFix more set-but-not-used warnings in _itowa.c.
Joseph Myers [Tue, 20 Nov 2012 00:05:23 +0000 (00:05 +0000)]
Fix more set-but-not-used warnings in _itowa.c.

11 years agoFix __bswap_64 return type in generic bits/byteswap.h.
Joseph Myers [Tue, 20 Nov 2012 00:04:45 +0000 (00:04 +0000)]
Fix __bswap_64 return type in generic bits/byteswap.h.

11 years agoFix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.
Joseph Myers [Tue, 20 Nov 2012 00:00:35 +0000 (00:00 +0000)]
Fix unused-variable warnings from MIPS RESOLVE_GOTSYM macro.

11 years agoHurd: fixes for ptsname and ptsname_r
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

11 years agoFix spurious underflows in ldbl-128 atan implementation.
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.

11 years agoFix _POSIX_TZNAME_MAX for older POSIX (bug 14856).
Joseph Myers [Mon, 19 Nov 2012 23:36:20 +0000 (23:36 +0000)]
Fix _POSIX_TZNAME_MAX for older POSIX (bug 14856).

11 years agoFix unused variable warnings from MIPS syscall macros.
Joseph Myers [Mon, 19 Nov 2012 23:08:27 +0000 (23:08 +0000)]
Fix unused variable warnings from MIPS syscall macros.

11 years agoconformtest: Clean up expectations for POSIX for more headers.
Joseph Myers [Mon, 19 Nov 2012 22:21:47 +0000 (22:21 +0000)]
conformtest: Clean up expectations for POSIX for more headers.