]> git.ipfire.org Git - thirdparty/glibc.git/log
thirdparty/glibc.git
12 years agoPowerPC: use _dl_static_init to set GLRO(gl_pagesize) rsa/2.17_backports_v3
Adhemerval Zanella [Tue, 23 Jul 2013 12:39:57 +0000 (07:39 -0500)] 
PowerPC: use _dl_static_init to set GLRO(gl_pagesize)

This patch fixes dlfcn/tststatic5 for PowerPC where pagesize
variable was not properly initialized in certain cases. This patch
is based on other architecture code.
(cherry picked from commit 7b1f8b581f9387230788e4d8a67cdbcf464dac85)

12 years agoFix loop construction to functions calls
Adhemerval Zanella [Fri, 21 Jun 2013 00:40:55 +0000 (19:40 -0500)] 
Fix loop construction to functions calls

Check wheter the compiler has the option -fno-tree-loop-distribute-patterns
to inhibit loop transformation to library calls and uses it on memset
and memmove default implementation to avoid recursive calls.
(backported from commit 85c2e6110c9a01ec817c30f1b7e20549d7229987)

This backport excluded the benchmark tests from the original commit.

12 years agoPowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
Ryan S. Arnold [Fri, 28 Jun 2013 21:52:49 +0000 (16:52 -0500)] 
PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.
(cherry picked from commit 89cd956937f46e8f4a0374994965f991642dd408)

12 years agoAdd GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
Ryan S. Arnold [Fri, 28 Jun 2013 21:50:48 +0000 (16:50 -0500)] 
Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.
(cherry picked from commit 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96)

12 years agoAdd AT_HWCAP2 as a new auxv_t a_type to elf.h.
Ryan S. Arnold [Wed, 26 Jun 2013 13:50:20 +0000 (08:50 -0500)] 
Add AT_HWCAP2 as a new auxv_t a_type to elf.h.
(cherry picked from commit c18c701d030e28698e6faee9c6d3b8b80d0e2302)

12 years agoPowerPC: Enable POWER8 platform sans hwcap bits.
Ryan S. Arnold [Mon, 24 Jun 2013 20:33:32 +0000 (15:33 -0500)] 
PowerPC: Enable POWER8 platform sans hwcap bits.
(cherry picked from commit 2f063a6e843c788a05667e6d362d229b3b671920)

12 years agoPowerPC: Reserve TCB space for EBB framework
Adhemerval Zanella [Mon, 17 Jun 2013 20:50:53 +0000 (15:50 -0500)] 
PowerPC: Reserve TCB space for EBB framework

This patch reserves four pointer to be used in future Event-Based
Branch framework for PowerPC.
(cherry picked from commit e55a9b256d53c7fc5145e3e4d338d3741b23e232)

12 years agoFix unsafe compiler optimization
Adhemerval Zanella [Wed, 12 Jun 2013 15:21:22 +0000 (10:21 -0500)] 
Fix unsafe compiler optimization

GCC 4.8 enables -ftree-loop-distribute-patterns at -O3 by default and
this optimization may transform loops into memset/memmove calls. Without
proper handling this may generate unexpected PLT calls on GLIBC.
This patch fixes by create memset/memmove alias to internal GLIBC
__GI_memset/__GI_memmove symbols.
(cherry picked from commit 6a97b62a5b4f18aea849d6f4d8de58d1469d2521)

12 years agoPowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].
Ryan S. Arnold [Tue, 11 Jun 2013 14:33:33 +0000 (09:33 -0500)] 
PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].
(cherry picked from commit d04310f210734448a5b950988d49dcea145df9c1)

12 years agoPowerPC: Merge ports/ dl-procinfo.[ch] with base.
Ryan S. Arnold [Tue, 11 Jun 2013 14:32:41 +0000 (09:32 -0500)] 
PowerPC: Merge ports/ dl-procinfo.[ch] with base.
(cherry picked from commit fac0c5f2b1dc0e1806cd95f2d6a4619929119f01)

12 years agoPowerPC: Program Priority Register support
Adhemerval Zanella [Fri, 24 May 2013 18:29:30 +0000 (13:29 -0500)] 
PowerPC: Program Priority Register support

This patch add inline functions to change the Program Priority Register
from ISA 2.05.
(cherry picked from commit d116b7c414c8239b677e341ac517745db689ac2d)

12 years agoPowerPC: Add functions for shared resources hints.
Edjunior Machado [Thu, 23 May 2013 15:06:24 +0000 (10:06 -0500)] 
PowerPC: Add functions for shared resources hints.
(cherry picked from commit 9323d39baea2fb0cca3735136abe263eff405133)

12 years agoUpdate bits/siginfo.h with Linux hwpoison SIGBUS changes
Edjunior Barbosa Machado [Wed, 22 May 2013 19:19:49 +0000 (14:19 -0500)] 
Update bits/siginfo.h with Linux hwpoison SIGBUS changes

Adds new SIGBUS error codes for hardware poison signals, syncing with
the current kernel headers (v3.9). It also adds si_trapno field for
alpha.
(cherry picked from commit 85118d4de37e76a1596a75bae75f75f69c33225c)

12 years agoUpdate s390/bits/siginfo.h
Edjunior Machado [Wed, 15 May 2013 18:15:19 +0000 (20:15 +0200)] 
Update s390/bits/siginfo.h

2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>

* sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t):
Remove si_trapno and add si_addr_lsb to _sifields.sigfault.
(si_trapno): Remove macro.
(si_addr_lsb): Define new macro.
(BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
(cherry picked from commit 12fba011bde4332687819ada867992192e5105f7)

12 years agoPowerPC: fix hypot/hypotf check for -INF
Adhemerval Zanella [Fri, 17 May 2013 13:12:16 +0000 (08:12 -0500)] 
PowerPC: fix hypot/hypotf check for -INF
(cherry picked from commit 13d3b41a36c4f28d171a144f8a9baad3a8835981)
(backported missing CL/NEWS from commit 68191c1d59d40b3d9f5babef4f37f265920ff565)

12 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).
(cherry picked from commit 83e7640f6bf68708ecf0b09d83c670203167271e)

12 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).
(cherry picked from commit aa630f590c9c7d070a7cdf3a2a88069ad6b63de9)

12 years agoPowerPC: modf optimization
Adhemerval Zanella [Mon, 25 Mar 2013 21:10:06 +0000 (16:10 -0500)] 
PowerPC: modf optimization

This patch implements modf/modff optimization for POWER by focus
on FP operations instead of relying in integer ones.
(backported from commit 3c0265394d9ffedff2b0de508602dc52e077ce5c)

This backport does not include the benchmark tests from the original
commit.

12 years agoAdd missing ChangeLog from commit 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3f
Adhemerval Zanella [Tue, 2 Apr 2013 12:08:09 +0000 (07:08 -0500)] 
Add missing ChangeLog from commit 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3f
(cherry picked from commit ab0f1aa99467436c38c1a3a419200f8e07cd12a5)

12 years agoPowerPC: remove branch prediction from rint implementation
Adhemerval Zanella [Fri, 29 Mar 2013 23:15:28 +0000 (18:15 -0500)] 
PowerPC: remove branch prediction from rint implementation

The branch prediction hints is actually hurts performance in this case.
The assembly implementation make two assumptions: 1. 'fabs (x) < 2^52'
is unlikely and 2. 'x > 0.0' is unlike (if 1. is true). Since it a
general floating point function, expected input is not bounded and then
it is better to let the hardware handle the branches.

(backported from commit 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3f)

This backport does not include the benchmark tests from the original
commit.

12 years agoPowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.
Alan Modra [Thu, 28 Mar 2013 17:16:28 +0000 (12:16 -0500)] 
PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.

The .eh_frame info in crt1.o isn't useful and this patch prevents it from
being generated on PowerPC.  It triggers the following gold bug:

http://sourceware.org/bugzilla/show_bug.cgi?id=14675
(cherry picked from commit b0f1246ab45b6d27e2bba64aa8dfe407ac740537)

12 years agoPowerPC: fix libm ABI issue for llroundl
Adhemerval Zanella [Tue, 26 Mar 2013 13:01:57 +0000 (10:01 -0300)] 
PowerPC: fix libm ABI issue for llroundl
(cherry picked from commit fce14d4e9c6e08ad8c825fe88d8cbdac5c739565)

12 years agoPowerPC: fix sqrtl ABI issue
Adhemerval Zanella [Thu, 21 Mar 2013 17:15:45 +0000 (14:15 -0300)] 
PowerPC: fix sqrtl ABI issue

This patch fixes a sqrtl ABI issue when building for powerpc64.
(cherry picked from commit b5784d95bb94eda59b08aca735406908e209f638)

12 years agoPowerPC: gettimeofday optimization by using IFUNC
Adhemerval Zanella [Fri, 15 Mar 2013 13:58:56 +0000 (10:58 -0300)] 
PowerPC: gettimeofday optimization by using IFUNC
(backported from commit ef26eece6331a1f6d959818e37c438cc7ce68e53)

12 years agoPowerPC: unify math_ldbl.h implementations
Adhemerval Zanella [Fri, 8 Mar 2013 14:07:15 +0000 (11:07 -0300)] 
PowerPC: unify math_ldbl.h implementations

This patch removes redudant definition from PowerPC specific
math_ldbl, using the definitions from ieee754 math_ldbl.h.
(backported from commit edf66e57fc2bac083ecc9756a5fe47f9041ed3bb)

12 years agoConsolidate copies of mp code in powerpc
Siddhesh Poyarekar [Fri, 8 Mar 2013 06:08:41 +0000 (11:38 +0530)] 
Consolidate copies of mp code in powerpc

Retain a single copy of the mp code in power4 instead of the two
identical copies in powerpc32 and powerpc64.
(backported from commit 6d9145d817e570cd986bb088cf2af0bf51ac7dde)

12 years agoBZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibm
Adhemerval Zanella [Mon, 4 Mar 2013 14:37:51 +0000 (11:37 -0300)] 
BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibm
(backported from commit e0b780ad5b94209bf99bf498314bc5c160dc2a15)

12 years agoCorrected ChangeLog date of __kernel_get_tbfreq fix.
Ryan S. Arnold [Fri, 18 Jan 2013 13:52:18 +0000 (07:52 -0600)] 
Corrected ChangeLog date of __kernel_get_tbfreq fix.
(cherry picked from commit 90567f30eb334328ae6e2b7901df539f1ba61921)

12 years agoPowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
Anton Blanchard [Tue, 15 Jan 2013 18:50:46 +0000 (12:50 -0600)] 
PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.

In order for the __kernel_get_tbfreq vDSO call to work the
INTERNAL_VSYSCALL_NCS macro needed to be updated to prevent it from
assuming an integer return type (since the timebase frequency is a 64-bit
value) by specifying the type of the return type as a macro parameter.  The
macro then specifically declares the return value as a 'register' (or
implied pair) of the denoted type.  The compiler is then informed that this
register (or implied pair) is to be used for the return value.
(cherry picked from commit 471a1672d4d55124de4db8273829f96cc14d424a)

12 years agoPowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
Anton Blanchard [Thu, 10 Jan 2013 02:30:11 +0000 (20:30 -0600)] 
PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.
(cherry picked from commit d5e0b9bd6e296f3ec5263fa296d39f3fed9b8fa2)

12 years agotile BZ #15759: Fix bug in _dl_unmap
Chris Metcalf [Mon, 22 Jul 2013 15:46:44 +0000 (11:46 -0400)] 
tile BZ #15759: Fix bug in _dl_unmap

We returned without calling __munmap if not in the simulator.
Now we call a separate sim_dlclose() function to make the
control flow work correctly.

(cherry picked from commit 1fe2988f523ddbad93ca7abc98fea982f2ae0505)

Conflicts:
NEWS

12 years agotile: default to little-endian in bits/endian.h
Chris Metcalf [Wed, 12 Jun 2013 20:48:33 +0000 (16:48 -0400)] 
tile: default to little-endian in bits/endian.h

This turns out to be helpful when doing a from-scratch cross-compile of
gcc and glibc, since you can then do "make install-headers" in glibc
even before you have a functioning tile gcc.

(cherry picked from commit ad36ba2bd67398edefe31aa039090912f76bffce)

12 years agotile: improve detection for missing -mcmodel=large support
Chris Metcalf [Fri, 24 May 2013 18:02:31 +0000 (14:02 -0400)] 
tile: improve detection for missing -mcmodel=large support

The existing test avoided passing -mcmodel=large if the compiler didn't
support it.  However, we need to test not just the compiler support, but
also the toolchain (as and ld) support, so make the test more complete.
In addition, we have to avoid using the hwN_plt() assembly operators if
that support is missing, so guard the uses with #ifdef NO_PLT_PCREL.

This allows us to properly build glibc with the current community
binutils, which doesn't yet have the PC-relative PLT operator support.
The -mcmodel=large support is in gcc 4.8, but the toolchain support
won't be present in the community until binutils 2.24.

(cherry picked from commit 86bd05fbc8b3a635148f6a7d8b4fb89c9a524e58)

12 years agoBackport fixes for BZ #15006 from master.
Wilhelm Eger [Wed, 22 May 2013 20:33:03 +0000 (16:33 -0400)] 
Backport fixes for BZ #15006 from master.

Resolved backport request BZ #15122.

Assume all unmarked objects are compatible with all ABI variants.
Such objects may have been generated in a transitional period when
ABI tags were not added to all objects.

---

2013-02-08  Carlos O'Donell  <carlos@redhat.com>

[BZ #15006]
* sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
* elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.

ports/

2013-02-08  Carlos O'Donell  <carlos@redhat.com>

[BZ #15006]
* sysdeps/unix/sysv/linux/arm/dl-cache.h
[__ARM_PCS_VFP] (_dl_cache_check_flags): Allow plain FLAG_ELF_LIBC6.
[!__ARM_PCS_VFP] (_dl_cache_check_flags): Likewise.
* sysdeps/unix/sysv/linux/arm/readelflib.c (process_elf_file):
Set FLAG_ARM_LIBSF for soft-float ABI otherwise just FLAG_ELF_LIBC6.

12 years agoUpdate German translations. origin/release/2.17/master
David S. Miller [Sat, 30 Mar 2013 21:03:29 +0000 (17:03 -0400)] 
Update German translations.

* po/de.po: Update from translation team.

12 years agoAdd BZ#11261 to 2.16 fixed bug list.
Carlos O'Donell [Sun, 17 Mar 2013 22:44:03 +0000 (18:44 -0400)] 
Add BZ#11261 to 2.16 fixed bug list.

12 years agoUpdate German translations.
David S. Miller [Thu, 31 Jan 2013 20:13:24 +0000 (15:13 -0500)] 
Update German translations.

* po/de.po: Update from translation team.

12 years agoAdd MSG_FASTOPEN
Andreas Jaeger [Fri, 11 Jan 2013 10:53:13 +0000 (11:53 +0100)] 
Add MSG_FASTOPEN

[BZ #15003]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.
(cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)

12 years agoSync netinet/tcp.h with upstream Linux kernel.
David S. Miller [Thu, 10 Jan 2013 07:04:32 +0000 (23:04 -0800)] 
Sync netinet/tcp.h with upstream Linux kernel.

[BZ# 15003]
* sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
TCP_FASTOPEN): Define.
(tcp_repair_opt): New structure.
(TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
enum values.
(TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
(tcp_cookie_transactions): New structure.

12 years agoAdd new defines from Linux 3.7 to <netinet/tcp.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>

12 years agoUpdate Catalan translations.
David S. Miller [Wed, 2 Jan 2013 01:28:13 +0000 (17:28 -0800)] 
Update Catalan translations.

* po/ca.po: Update from translation team.

12 years agoUpdate French translation.
David S. Miller [Tue, 1 Jan 2013 08:51:00 +0000 (00:51 -0800)] 
Update French translation.

* po/fr.po: Update from translation team.

12 years agoUpdate version.h and include/features.h for 2.17 release. glibc-2.17
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.

12 years agotile: fix DWARF bug in clone() for created thread
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.

12 years agoUpdate Croatian translations.
David S. Miller [Fri, 21 Dec 2012 20:22:48 +0000 (12:22 -0800)] 
Update Croatian translations.

* po/hr.po: Update from translation team.

12 years agoS/390: Update libm-test-ulps.
Andreas Krebbel [Fri, 21 Dec 2012 02:25:54 +0000 (03:25 +0100)] 
S/390: Update libm-test-ulps.

12 years agoRemove trailing space.
Steve Ellcey [Wed, 19 Dec 2012 16:57:50 +0000 (08:57 -0800)] 
Remove trailing space.

12 years ago2012-12-19 Steve Ellcey <sellcey@mips.com>
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.

12 years agoFix AArch64 typo.
Marcus Shawcroft [Tue, 18 Dec 2012 09:51:55 +0000 (09:51 +0000)] 
Fix AArch64 typo.

12 years agoUpdate Russian translations.
David S. Miller [Sat, 15 Dec 2012 23:30:31 +0000 (15:30 -0800)] 
Update Russian translations.

* po/ru.po: Update from translation team.

12 years agoFix typo in previous commit.
David S. Miller [Thu, 13 Dec 2012 20:42:06 +0000 (15:42 -0500)] 
Fix typo in previous commit.

12 years agoMention IFUNC enhancements to testsuite in NEWS.
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.

12 years agoUpdate Polish and Bulgarian translations.
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.

12 years agoUpdate manual/contrib.texi
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.

12 years agoUpdate Swedish translations.
David S. Miller [Wed, 12 Dec 2012 07:21:39 +0000 (02:21 -0500)] 
Update Swedish translations.

* po/sv.po: Update from translation team.

12 years agoUpdate Vietnamese translations.
David S. Miller [Wed, 12 Dec 2012 06:55:56 +0000 (01:55 -0500)] 
Update Vietnamese translations.

* po/vi.po: Update from translation team.

12 years agoUpdate Czech PO file.
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.

12 years agoUpdate German, Dutch, and Esperanto translations.
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.

12 years agoMove node Argp Helper Functions to follow Argp Parsing State
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.

12 years agoMention if terminating null is included in NAME_MAX/PATH_MAX
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.

12 years agoUpdate cs translations
Andreas Jaeger [Mon, 10 Dec 2012 19:57:18 +0000 (20:57 +0100)] 
Update cs translations

12 years agoMark BZ#10114 as fixed.
Richard Henderson [Mon, 10 Dec 2012 15:50:42 +0000 (07:50 -0800)] 
Mark BZ#10114 as fixed.

12 years agoaarch64: Fix compiler warning for unused declaration _x0
Marcus Shawcroft [Mon, 10 Dec 2012 10:33:30 +0000 (10:33 +0000)] 
aarch64: Fix compiler warning for unused declaration _x0

12 years agoFix some build warnings on s390x
Siddhesh Poyarekar [Sat, 8 Dec 2012 07:33:24 +0000 (13:03 +0530)] 
Fix some build warnings on s390x

12 years agoMinor ChangeLog formatting fix
Siddhesh Poyarekar [Sat, 8 Dec 2012 07:30:00 +0000 (13:00 +0530)] 
Minor ChangeLog formatting fix

12 years agoBZ #14833: message.texi typo fixes
Benno Schulenberg [Sat, 8 Dec 2012 07:04:59 +0000 (12:34 +0530)] 
BZ #14833: message.texi typo fixes

12 years ago [BZ #14898]
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.

12 years agoUpdate libc.pot in preparation for giving tarball to translation project.
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.

12 years agosoft-fp: Fix used without set warning in _FP_MUL and _FP_DIV
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.

12 years agoalpha: Fix redefinition of __isnanl macro warning
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.

12 years agoalpha: Fix redefinition of __isnanl macro warning
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.

12 years agoalpha: Avoid builtin warning for isnanf
Richard Henderson [Fri, 7 Dec 2012 18:43:06 +0000 (12:43 -0600)] 
alpha: Avoid builtin warning for isnanf

12 years agoaarch64: Regenerate libm-test-ulps.
Marcus Shawcroft [Fri, 7 Dec 2012 12:46:04 +0000 (12:46 +0000)] 
aarch64: Regenerate libm-test-ulps.

12 years agoaarch64: Resolve sc_err and _x0 defined but not used warnings.
Marcus Shawcroft [Fri, 7 Dec 2012 12:33:53 +0000 (12:33 +0000)] 
aarch64: Resolve sc_err and _x0 defined but not used warnings.

12 years agoaarch64: Resolve implict cast warning.
Marcus Shawcroft [Fri, 7 Dec 2012 12:31:29 +0000 (12:31 +0000)] 
aarch64: Resolve implict cast warning.

12 years agoaarch64: Resolve strtab defined but not used warning.
Marcus Shawcroft [Fri, 7 Dec 2012 12:28:52 +0000 (12:28 +0000)] 
aarch64: Resolve strtab defined but not used warning.

12 years agolinux: posix_fadvise: support __NR_fadvise64_64
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>
12 years agoFix ChangeLog formatting for arm and aarch64
Adam Conrad [Thu, 6 Dec 2012 23:48:21 +0000 (16:48 -0700)] 
Fix ChangeLog formatting for arm and aarch64

12 years agoFix warnings from generic _FPU_GETCW
Chris Metcalf [Thu, 6 Dec 2012 15:42:06 +0000 (10:42 -0500)] 
Fix warnings from generic _FPU_GETCW

12 years agoChange sources.redhat.com references to sourceware.org.
Joseph Myers [Thu, 6 Dec 2012 15:32:46 +0000 (15:32 +0000)] 
Change sources.redhat.com references to sourceware.org.

12 years agoFix the order of my ChangeLog entries
Siddhesh Poyarekar [Thu, 6 Dec 2012 15:16:18 +0000 (20:46 +0530)] 
Fix the order of my ChangeLog entries

12 years agoFix "set but not used" warnings for powerpc64
Siddhesh Poyarekar [Thu, 6 Dec 2012 14:50:45 +0000 (20:20 +0530)] 
Fix "set but not used" warnings for powerpc64

12 years agoAdd newline to last test in stdio-common/tst-put-error.c
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.

12 years ago * sunrpc/etc.rpc (fedfs_admin): Add entry.
Jeff Law [Thu, 6 Dec 2012 02:45:23 +0000 (19:45 -0700)] 
    * sunrpc/etc.rpc (fedfs_admin): Add entry.

12 years agoPorts-related README updates.
Joseph Myers [Wed, 5 Dec 2012 22:15:52 +0000 (22:15 +0000)] 
Ports-related README updates.

12 years agoExpand LICENSES file.
Joseph Myers [Wed, 5 Dec 2012 21:56:15 +0000 (21:56 +0000)] 
Expand LICENSES file.

12 years agoFix "set but not used" warnings for X##_s in soft-fp.
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.

12 years agoInclude stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.
Joseph Myers [Wed, 5 Dec 2012 20:03:45 +0000 (20:03 +0000)] 
Include stdlib.h in sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c.

12 years agoIncrease width of padded output in stdio-common/tst-put-error.
Joseph Myers [Wed, 5 Dec 2012 20:02:41 +0000 (20:02 +0000)] 
Increase width of padded output in stdio-common/tst-put-error.

12 years agoSpecify powerpc-nofpu fegetexceptflag return type.
Joseph Myers [Wed, 5 Dec 2012 18:11:55 +0000 (18:11 +0000)] 
Specify powerpc-nofpu fegetexceptflag return type.

12 years agoFix typo in ChangeLog.mips.
Joseph Myers [Tue, 4 Dec 2012 22:08:24 +0000 (22:08 +0000)] 
Fix typo in ChangeLog.mips.

12 years agoFix warnings from MIPS soft-float _FPU_GETCW.
Joseph Myers [Tue, 4 Dec 2012 22:07:03 +0000 (22:07 +0000)] 
Fix warnings from MIPS soft-float _FPU_GETCW.

12 years agoDefine _SYS_AUXV_H to 1 not empty in sysdeps/powerpc/sysdep.h.
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.

12 years agoRemove unused variable from powerpc sem_post.c.
Joseph Myers [Tue, 4 Dec 2012 21:39:04 +0000 (21:39 +0000)] 
Remove unused variable from powerpc sem_post.c.

12 years agoFix ldbl-128ibm "set but not used" warnings.
Joseph Myers [Tue, 4 Dec 2012 21:19:17 +0000 (21:19 +0000)] 
Fix ldbl-128ibm "set but not used" warnings.

12 years agoFix sparc build with older compilers.
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.

12 years agoFix "conflicting types for built-in function" warnings from nldbl-*.c.
Joseph Myers [Tue, 4 Dec 2012 20:22:08 +0000 (20:22 +0000)] 
Fix "conflicting types for built-in function" warnings from nldbl-*.c.

12 years agoFix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.
Joseph Myers [Tue, 4 Dec 2012 14:40:17 +0000 (14:40 +0000)] 
Fix powerpc32 "set but not used" warnings from INTERNAL_SYSCALL_DECL.

12 years agoFix powl inaccuracy for ldbl-128ibm (bug 14914).
Joseph Myers [Tue, 4 Dec 2012 14:39:24 +0000 (14:39 +0000)] 
Fix powl inaccuracy for ldbl-128ibm (bug 14914).

12 years agoaarch64: Tag ARM libc6-dependent libraries with FLAG_ELF_LIBC6
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>