Siddhesh Poyarekar [Wed, 2 Jan 2013 06:14:13 +0000 (11:44 +0530)]
Split mantissa calculation loop and add branch prediction
Siddhesh Poyarekar [Wed, 2 Jan 2013 06:03:11 +0000 (11:33 +0530)]
Add assert for potential access beyond array bounds in m1np
The mpexp code has an access into m1np:
for (i=n-1; i>0; i--,n--) { if (m1np[i][p]+m2>0) break; }
which could break for p >= 18 or i >= 7. Fortunately this code is
never called due to the way the exp function is implemented since
values having exponent less than -55 return 1.0. Make sure that if it
gets called in future, it is trapped.
Siddhesh Poyarekar [Fri, 21 Dec 2012 03:45:10 +0000 (09:15 +0530)]
Move more constants into static variables
Code cleanup.
Siddhesh Poyarekar [Wed, 2 Jan 2013 04:25:00 +0000 (09:55 +0530)]
Fix ChangeLog entry
David S. Miller [Wed, 2 Jan 2013 01:28:13 +0000 (17:28 -0800)]
Update Catalan translations.
* po/ca.po: Update from translation team.
Joseph Myers [Tue, 1 Jan 2013 16:29:10 +0000 (16:29 +0000)]
Add script to update copyright notices and reformat some to facilitate its use.
David S. Miller [Tue, 1 Jan 2013 08:51:00 +0000 (00:51 -0800)]
Update French translation.
* po/fr.po: Update from translation team.
David S. Miller [Tue, 1 Jan 2013 08:11:43 +0000 (00:11 -0800)]
Update copyright years.
* catgets/gencat.c: Update copyright year.
* csu/version.c: Likewise.
* debug/catchsegv.sh: Likewise.
* debug/pcprofiledump.c: Likewise.
* debug/xtrace.sh: Likewise.
* elf/ldconfig.c: Likewise.
* elf/ldd.bash.in: Likewise.
* elf/pldd.c: Likewise.
* elf/sotruss.ksh: Likewise.
* elf/sprof.c: Likewise.
* iconv/iconv_prog.c: Likewise.
* iconv/iconvconfig.c: Likewise.
* locale/programs/locale.c: Likewise.
* locale/programs/localedef.c: Likewise.
* login/programs/pt_chown.c: Likewise.
* malloc/memusage.sh: Likewise.
* malloc/memusagestat.c: Likewise.
* malloc/mtrace.pl: Likewise.
* nscd/nscd.c: Likewise.
* nss/getent.c: Likewise.
* nss/makedb.c: Likewise.
* posix/getconf.c: Likewise.
Siddhesh Poyarekar [Mon, 31 Dec 2012 10:35:13 +0000 (16:05 +0530)]
Favour normal numbers
Mike Frysinger [Sun, 30 Dec 2012 00:49:11 +0000 (19:49 -0500)]
math: use existing nonnull attribute define
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Siddhesh Poyarekar [Sat, 29 Dec 2012 01:26:04 +0000 (06:56 +0530)]
Demystify the magic number
134217729.0
The number
134217729.0 gets used in various places in e_pow.c but
there is no explanation of what that number is. Add that explanation.
Andi Kleen [Fri, 28 Dec 2012 20:25:07 +0000 (21:25 +0100)]
Convert pthread_rwlock_try(rd/wr)lock to prototypes
2012-12-28 Andi Kleen <ak@linux.intel.com>
* pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
* Convert
to prototype.
* pthread_rwlock_trywrlock.c (__pthread_rwlock_trywrlock):
Likewise.
Chris Metcalf [Fri, 28 Dec 2012 16:28:08 +0000 (11:28 -0500)]
tile: support lll_futex_timed_wait_bitset
Siddhesh Poyarekar [Fri, 28 Dec 2012 13:32:01 +0000 (19:02 +0530)]
Remove unnecessary variable mptwoim1
Code cleanup.
Siddhesh Poyarekar [Fri, 28 Dec 2012 13:23:17 +0000 (18:53 +0530)]
Replace more constants with their values
Code cleanup.
Pino Toscano [Fri, 28 Dec 2012 12:37:00 +0000 (13:37 +0100)]
ChangeLog: add missing typo
Andreas Jaeger [Fri, 28 Dec 2012 12:03:54 +0000 (13:03 +0100)]
Add values from Linux 3.7 to <elf.h>
Andreas Jaeger [Fri, 28 Dec 2012 11:59:33 +0000 (12:59 +0100)]
Add new defines from Linux 3.7 to <netinet/tcp.h>
Siddhesh Poyarekar [Fri, 28 Dec 2012 06:23:01 +0000 (11:53 +0530)]
Add __glibc_likely as an alias for __builtin_expect when available
Siddhesh Poyarekar [Fri, 28 Dec 2012 04:10:10 +0000 (09:40 +0530)]
Replace constants with preprocessor defines
libm Code cleanup.
2012-12-27 Bruno Haible [Thu, 27 Dec 2012 21:37:39 +0000 (22:37 +0100)]
BZ#14317: Optimze __xpg_strerror_r
[BZ #14317]
* string/xpg-strerror.c (__xpg_strerror_r): Optimize, call
strlen only if needed.
David S. Miller [Thu, 27 Dec 2012 16:20:46 +0000 (08:20 -0800)]
Add sparc implementation of lll_futex_timed_wait_bitset
nptl/
* sysdeps/unix/sysv/linux/sparc/lowlevellock.h
(lll_futex_timed_wait_bitset): New macro.
Siddhesh Poyarekar [Thu, 27 Dec 2012 15:13:55 +0000 (20:43 +0530)]
Remove redundant __mpexp_nn
It's an array that stores integral float values of the offset.
Siddhesh Poyarekar [Thu, 27 Dec 2012 15:13:24 +0000 (20:43 +0530)]
Move mpone out to a global const
Code cleanup.
Siddhesh Poyarekar [Thu, 27 Dec 2012 15:13:02 +0000 (20:43 +0530)]
[s390] Replace lll_futex_* assembly code with INTERNAL_SYSCALL
David S. Miller [Tue, 25 Dec 2012 09:23:43 +0000 (01:23 -0800)]
Open development for 2.18.
* version.h (RELEASE): Set to "development".
(VERSION): Set to "2.17.90".
* NEWS: Add 2.18 section.
David S. Miller [Tue, 25 Dec 2012 03:02:13 +0000 (19:02 -0800)]
Update version.h and include/features.h for 2.17 release.
Chris Metcalf [Fri, 14 Dec 2012 15:46:54 +0000 (10:46 -0500)]
tile: fix DWARF bug in clone() for created thread
Previously, we would see a bad frame in the gdb backtrace output, e.g.:
(gdb) bt
#0 foo () at foo.c:5
#1 0x000000aaaab68ee8 in start_thread () from /lib/libpthread.so.0
#2 0x000000aaaad01c88 in clone () from /lib/libc.so.6
#3 0x0000000000000000 in ?? ()
With this change the bogus frame #3 is gone and we have the
same output as x86 does for the same program.
David S. Miller [Fri, 21 Dec 2012 20:22:48 +0000 (12:22 -0800)]
Update Croatian translations.
* po/hr.po: Update from translation team.
Andreas Krebbel [Fri, 21 Dec 2012 02:25:54 +0000 (03:25 +0100)]
S/390: Update libm-test-ulps.
Steve Ellcey [Wed, 19 Dec 2012 16:57:50 +0000 (08:57 -0800)]
Remove trailing space.
Steve Ellcey [Wed, 19 Dec 2012 16:56:08 +0000 (08:56 -0800)]
2012-12-19 Steve Ellcey <sellcey@mips.com>
* NEWS: Mention new memcpy for MIPS.
Marcus Shawcroft [Tue, 18 Dec 2012 09:51:55 +0000 (09:51 +0000)]
Fix AArch64 typo.
David S. Miller [Sat, 15 Dec 2012 23:30:31 +0000 (15:30 -0800)]
Update Russian translations.
* po/ru.po: Update from translation team.
David S. Miller [Thu, 13 Dec 2012 20:42:06 +0000 (15:42 -0500)]
Fix typo in previous commit.
David S. Miller [Thu, 13 Dec 2012 20:40:06 +0000 (15:40 -0500)]
Mention IFUNC enhancements to testsuite in NEWS.
* NEWS: Mention IFUNC testsuite enhancements.
David S. Miller [Thu, 13 Dec 2012 20:19:42 +0000 (15:19 -0500)]
Update Polish and Bulgarian translations.
* po/pl.po: Update from translation team.
* po/bg.po: Likewise.
David S. Miller [Thu, 13 Dec 2012 19:47:43 +0000 (14:47 -0500)]
Update manual/contrib.texi
* manual/contrib.texi (Contributors): Update entries for Hongjiu
Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
David S. Miller [Wed, 12 Dec 2012 07:21:39 +0000 (02:21 -0500)]
Update Swedish translations.
* po/sv.po: Update from translation team.
David S. Miller [Wed, 12 Dec 2012 06:55:56 +0000 (01:55 -0500)]
Update Vietnamese translations.
* po/vi.po: Update from translation team.
David S. Miller [Tue, 11 Dec 2012 18:59:00 +0000 (13:59 -0500)]
Update Czech PO file.
* po/cs.po: Update from translation team.
David S. Miller [Tue, 11 Dec 2012 17:56:04 +0000 (12:56 -0500)]
Update German, Dutch, and Esperanto translations.
* po/de.po: Update from translation team.
* po/eo.po: Likewise.
* po/nl.po: Likewise.
Siddhesh Poyarekar [Tue, 11 Dec 2012 03:29:06 +0000 (08:59 +0530)]
Move node Argp Helper Functions to follow Argp Parsing State
Resolves BZ #14246.
Siddhesh Poyarekar [Tue, 11 Dec 2012 03:31:02 +0000 (09:01 +0530)]
Mention if terminating null is included in NAME_MAX/PATH_MAX
Fixes BZ #14872.
Andreas Jaeger [Mon, 10 Dec 2012 19:57:18 +0000 (20:57 +0100)]
Update cs translations
Richard Henderson [Mon, 10 Dec 2012 15:50:42 +0000 (07:50 -0800)]
Mark BZ#10114 as fixed.
Marcus Shawcroft [Mon, 10 Dec 2012 10:33:30 +0000 (10:33 +0000)]
aarch64: Fix compiler warning for unused declaration _x0
Siddhesh Poyarekar [Sat, 8 Dec 2012 07:33:24 +0000 (13:03 +0530)]
Fix some build warnings on s390x
Siddhesh Poyarekar [Sat, 8 Dec 2012 07:30:00 +0000 (13:00 +0530)]
Minor ChangeLog formatting fix
Benno Schulenberg [Sat, 8 Dec 2012 07:04:59 +0000 (12:34 +0530)]
BZ #14833: message.texi typo fixes
Andreas Schwab [Fri, 7 Dec 2012 21:55:19 +0000 (14:55 -0700)]
[BZ #14898]
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
Change to -1.
David S. Miller [Fri, 7 Dec 2012 20:13:31 +0000 (15:13 -0500)]
Update libc.pot in preparation for giving tarball to translation project.
* po/libc.pot: Update.
Richard Henderson [Fri, 7 Dec 2012 19:17:08 +0000 (13:17 -0600)]
soft-fp: Fix used without set warning in _FP_MUL and _FP_DIV
Seen in, e.g. ports/sysdeps/alpha/soft-fp/ots_mul.c.
The problem here is we have a switch on the class of X*Y, followed by
a switch on the class of R. The exponent field of R really is not set
by the first switch for NaN outputs, because we know it's not going to
be used. The compiler is not smart enough to see through this.
By pulling the exponent computation out of the NORMAL*NORMAL path, we
will not be pessimizing the most common case, while still providing an
arbitrary value to satisfy the compiler.
Richard Henderson [Fri, 7 Dec 2012 19:08:31 +0000 (13:08 -0600)]
alpha: Fix redefinition of __isnanl macro warning
In
bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a we added self-definitions
of __isnan and friends in order to indicate specialized architecture
support, and avoid redefinitions within various generic math_private.h.
There is no generic math_private.h that concerns ldbl-128, and while
we provide __isnanl in the alpha math_private.h there's no need to
protect the function against redefinition.
Richard Henderson [Fri, 7 Dec 2012 19:05:39 +0000 (13:05 -0600)]
alpha: Fix redefinition of __isnanl macro warning
In
bdd7898a58bd76ac3b411a4931ff3f9e77eabe6a we added self-definitions
of __isnan and friends in order to indicate specialized architecture
support, and avoid redefinitions within various generic math_private.h.
There is no generic math_private.h that concerns ldbl-128, and while
we provide __isnanl in the alpha math_private.h there's no need to
protect the function against redefinition.
Richard Henderson [Fri, 7 Dec 2012 18:43:06 +0000 (12:43 -0600)]
alpha: Avoid builtin warning for isnanf
Marcus Shawcroft [Fri, 7 Dec 2012 12:46:04 +0000 (12:46 +0000)]
aarch64: Regenerate libm-test-ulps.
Marcus Shawcroft [Fri, 7 Dec 2012 12:33:53 +0000 (12:33 +0000)]
aarch64: Resolve sc_err and _x0 defined but not used warnings.
Marcus Shawcroft [Fri, 7 Dec 2012 12:31:29 +0000 (12:31 +0000)]
aarch64: Resolve implict cast warning.
Marcus Shawcroft [Fri, 7 Dec 2012 12:28:52 +0000 (12:28 +0000)]
aarch64: Resolve strtab defined but not used warning.
Mike Frysinger [Thu, 6 Dec 2012 20:01:35 +0000 (15:01 -0500)]
linux: posix_fadvise: support __NR_fadvise64_64
Some arches do not have a __NR_fadvise64 but do have __NR_fadvise64_64.
If the former is unavailable, fallback to the latter.
Reviewed-by: Carlos O'Donell <carlos@systemhalted.org>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Adam Conrad [Thu, 6 Dec 2012 23:48:21 +0000 (16:48 -0700)]
Fix ChangeLog formatting for arm and aarch64
Chris Metcalf [Thu, 6 Dec 2012 15:42:06 +0000 (10:42 -0500)]
Fix warnings from generic _FPU_GETCW
Joseph Myers [Thu, 6 Dec 2012 15:32:46 +0000 (15:32 +0000)]
Change sources.redhat.com references to sourceware.org.
Siddhesh Poyarekar [Thu, 6 Dec 2012 15:16:18 +0000 (20:46 +0530)]
Fix the order of my ChangeLog entries
Siddhesh Poyarekar [Thu, 6 Dec 2012 14:50:45 +0000 (20:20 +0530)]
Fix "set but not used" warnings for powerpc64
Siddhesh Poyarekar [Thu, 6 Dec 2012 05:40:18 +0000 (11:10 +0530)]
Add newline to last test in stdio-common/tst-put-error.c
The newline ensures that the buffer is flushed and the test executes
as expected.
Jeff Law [Thu, 6 Dec 2012 02:45:23 +0000 (19:45 -0700)]
* sunrpc/etc.rpc (fedfs_admin): Add entry.
Joseph Myers [Wed, 5 Dec 2012 22:15:52 +0000 (22:15 +0000)]
Ports-related README updates.
Joseph Myers [Wed, 5 Dec 2012 21:56:15 +0000 (21:56 +0000)]
Expand LICENSES file.
Joseph Myers [Wed, 5 Dec 2012 20:04:32 +0000 (20:04 +0000)]
Fix "set but not used" warnings for X##_s in soft-fp.
Joseph Myers [Wed, 5 Dec 2012 20:03:45 +0000 (20:03 +0000)]
Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.
Joseph Myers [Wed, 5 Dec 2012 20:02:41 +0000 (20:02 +0000)]
Increase width of padded output in stdio-common/tst-put-error.
Joseph Myers [Wed, 5 Dec 2012 18:11:55 +0000 (18:11 +0000)]
Specify powerpc-nofpu fegetexceptflag return type.
Joseph Myers [Tue, 4 Dec 2012 22:08:24 +0000 (22:08 +0000)]
Fix typo in ChangeLog.mips.
Joseph Myers [Tue, 4 Dec 2012 22:07:03 +0000 (22:07 +0000)]
Fix warnings from MIPS soft-float _FPU_GETCW.
Joseph Myers [Tue, 4 Dec 2012 21:45:01 +0000 (21:45 +0000)]
Define _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.
Joseph Myers [Tue, 4 Dec 2012 21:39:04 +0000 (21:39 +0000)]
Remove unused variable from powerpc sem_post.c.
Joseph Myers [Tue, 4 Dec 2012 21:19:17 +0000 (21:19 +0000)]
Fix ldbl-128ibm "set but not used" warnings.
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.