| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit d04310f210734448a5b950988d49dcea145df9c1)
|
|
|
|
| |
(cherry picked from commit fac0c5f2b1dc0e1806cd95f2d6a4619929119f01)
|
|
|
|
|
|
| |
This patch add inline functions to change the Program Priority Register
from ISA 2.05.
(cherry picked from commit d116b7c414c8239b677e341ac517745db689ac2d)
|
|
|
|
| |
(cherry picked from commit 9323d39baea2fb0cca3735136abe263eff405133)
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
(cherry picked from commit 13d3b41a36c4f28d171a144f8a9baad3a8835981)
(backported missing CL/NEWS from commit 68191c1d59d40b3d9f5babef4f37f265920ff565)
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
(cherry picked from commit ab0f1aa99467436c38c1a3a419200f8e07cd12a5)
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit fce14d4e9c6e08ad8c825fe88d8cbdac5c739565)
|
|
|
|
|
| |
This patch fixes a sqrtl ABI issue when building for powerpc64.
(cherry picked from commit b5784d95bb94eda59b08aca735406908e209f638)
|
|
|
|
| |
(backported from commit ef26eece6331a1f6d959818e37c438cc7ce68e53)
|
|
|
|
|
|
| |
This patch removes redudant definition from PowerPC specific
math_ldbl, using the definitions from ieee754 math_ldbl.h.
(backported from commit edf66e57fc2bac083ecc9756a5fe47f9041ed3bb)
|
|
|
|
|
|
| |
Retain a single copy of the mp code in power4 instead of the two
identical copies in powerpc32 and powerpc64.
(backported from commit 6d9145d817e570cd986bb088cf2af0bf51ac7dde)
|
|
|
|
| |
(backported from commit e0b780ad5b94209bf99bf498314bc5c160dc2a15)
|
|
|
|
| |
(cherry picked from commit 90567f30eb334328ae6e2b7901df539f1ba61921)
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
| |
(cherry picked from commit d5e0b9bd6e296f3ec5263fa296d39f3fed9b8fa2)
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* po/de.po: Update from translation team.
|
| |
|
|
|
|
| |
* po/de.po: Update from translation team.
|
|
|
|
|
|
|
| |
[BZ #15003]
* sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
value. Sync with Linux 3.7.
(cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
[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.
|
| |
|
|
|
|
| |
* po/ca.po: Update from translation team.
|
|
|
|
| |
* po/fr.po: Update from translation team.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
* po/hr.po: Update from translation team.
|
| |
|
| |
|
|
|
|
| |
* NEWS: Mention new memcpy for MIPS.
|
| |
|
|
|
|
| |
* po/ru.po: Update from translation team.
|
| |
|
|
|
|
| |
* NEWS: Mention IFUNC testsuite enhancements.
|
|
|
|
|
| |
* po/pl.po: Update from translation team.
* po/bg.po: Likewise.
|
|
|
|
|
| |
* manual/contrib.texi (Contributors): Update entries for Hongjiu
Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
|
|
|
|
| |
* po/sv.po: Update from translation team.
|
|
|
|
| |
* po/vi.po: Update from translation team.
|
|
|
|
| |
* po/cs.po: Update from translation team.
|