about summary refs log tree commit diff
Commit message (Collapse)AuthorAgeFilesLines
* PowerPC: use _dl_static_init to set GLRO(gl_pagesize) rsa/2.17_backports_v3Adhemerval Zanella2013-07-265-0/+137
| | | | | | | 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)
* Fix loop construction to functions callsAdhemerval Zanella2013-07-269-0/+82
| | | | | | | | | 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.
* PowerPC: Define AT_HWCAP2 bits and AT_HWCAP2 handling for POWER8.Ryan S. Arnold2013-07-266-23/+86
| | | | (cherry picked from commit 89cd956937f46e8f4a0374994965f991642dd408)
* Add GLRO(dl_hwcap2) for new AT_HWCAP2 auxv_t a_type.Ryan S. Arnold2013-07-2618-13/+89
| | | | (cherry picked from commit 1ae8bfe07c1ab2444cc1d186321ff1431a1b9f96)
* Add AT_HWCAP2 as a new auxv_t a_type to elf.h.Ryan S. Arnold2013-07-262-1/+8
| | | | (cherry picked from commit c18c701d030e28698e6faee9c6d3b8b80d0e2302)
* PowerPC: Enable POWER8 platform sans hwcap bits.Ryan S. Arnold2013-07-267-3/+34
| | | | (cherry picked from commit 2f063a6e843c788a05667e6d362d229b3b671920)
* PowerPC: Reserve TCB space for EBB frameworkAdhemerval Zanella2013-07-262-0/+10
| | | | | | This patch reserves four pointer to be used in future Event-Based Branch framework for PowerPC. (cherry picked from commit e55a9b256d53c7fc5145e3e4d338d3741b23e232)
* Fix unsafe compiler optimizationAdhemerval Zanella2013-07-263-1/+16
| | | | | | | | | 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)
* PowerPC: Remove redundant ports/sysdeps/powerpc/dl-procinfo.[ch].Ryan S. Arnold2013-07-263-268/+7
| | | | (cherry picked from commit d04310f210734448a5b950988d49dcea145df9c1)
* PowerPC: Merge ports/ dl-procinfo.[ch] with base.Ryan S. Arnold2013-07-265-80/+124
| | | | (cherry picked from commit fac0c5f2b1dc0e1806cd95f2d6a4619929119f01)
* PowerPC: Program Priority Register supportAdhemerval Zanella2013-07-263-0/+56
| | | | | | This patch add inline functions to change the Program Priority Register from ISA 2.05. (cherry picked from commit d116b7c414c8239b677e341ac517745db689ac2d)
* PowerPC: Add functions for shared resources hints.Edjunior Machado2013-07-263-0/+63
| | | | (cherry picked from commit 9323d39baea2fb0cca3735136abe263eff405133)
* Update bits/siginfo.h with Linux hwpoison SIGBUS changesEdjunior Barbosa Machado2013-07-2612-8/+89
| | | | | | | 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)
* Update s390/bits/siginfo.hEdjunior Machado2013-07-262-3/+15
| | | | | | | | | | | 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)
* PowerPC: fix hypot/hypotf check for -INFAdhemerval Zanella2013-07-264-7/+14
| | | | | (cherry picked from commit 13d3b41a36c4f28d171a144f8a9baad3a8835981) (backported missing CL/NEWS from commit 68191c1d59d40b3d9f5babef4f37f265920ff565)
* PowerPC: Add time vDSO supportAdhemerval Zanella2013-07-255-3/+81
| | | | | | | | | 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)
* PowerPC: modf optimization fixAdhemerval Zanella2013-07-255-0/+14
| | | | | | | | 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)
* PowerPC: modf optimizationAdhemerval Zanella2013-07-255-0/+118
| | | | | | | | | 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.
* Add missing ChangeLog from commit 60c414c346a1d5ef0510ffbdc0ab75f288ee4d3fAdhemerval Zanella2013-07-251-0/+10
| | | | (cherry picked from commit ab0f1aa99467436c38c1a3a419200f8e07cd12a5)
* PowerPC: remove branch prediction from rint implementationAdhemerval Zanella2013-07-254-12/+12
| | | | | | | | | | | | | 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.
* PowerPC: .eh_frame info in crt1.o isn't useful and triggers gold bug 14675.Alan Modra2013-07-253-0/+21
| | | | | | | | 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)
* PowerPC: fix libm ABI issue for llroundlAdhemerval Zanella2013-07-252-0/+9
| | | | (cherry picked from commit fce14d4e9c6e08ad8c825fe88d8cbdac5c739565)
* PowerPC: fix sqrtl ABI issueAdhemerval Zanella2013-07-252-0/+9
| | | | | This patch fixes a sqrtl ABI issue when building for powerpc64. (cherry picked from commit b5784d95bb94eda59b08aca735406908e209f638)
* PowerPC: gettimeofday optimization by using IFUNCAdhemerval Zanella2013-07-253-13/+52
| | | | (backported from commit ef26eece6331a1f6d959818e37c438cc7ce68e53)
* PowerPC: unify math_ldbl.h implementationsAdhemerval Zanella2013-07-255-168/+34
| | | | | | This patch removes redudant definition from PowerPC specific math_ldbl, using the definitions from ieee754 math_ldbl.h. (backported from commit edf66e57fc2bac083ecc9756a5fe47f9041ed3bb)
* Consolidate copies of mp code in powerpcSiddhesh Poyarekar2013-07-257-553/+15
| | | | | | Retain a single copy of the mp code in power4 instead of the two identical copies in powerpc32 and powerpc64. (backported from commit 6d9145d817e570cd986bb088cf2af0bf51ac7dde)
* BZ #15055: Use __ieee754_sqrl in acoshl for lbdl-128ibmAdhemerval Zanella2013-07-253-2/+8
| | | | (backported from commit e0b780ad5b94209bf99bf498314bc5c160dc2a15)
* Corrected ChangeLog date of __kernel_get_tbfreq fix.Ryan S. Arnold2013-07-251-1/+1
| | | | (cherry picked from commit 90567f30eb334328ae6e2b7901df539f1ba61921)
* PowerPC: Rename __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.Anton Blanchard2013-07-255-29/+55
| | | | | | | | | | | 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)
* PowerPC: Change sched_getcpu to use vDSO getcpu instead of syscall.Anton Blanchard2013-07-255-0/+43
| | | | (cherry picked from commit d5e0b9bd6e296f3ec5263fa296d39f3fed9b8fa2)
* tile BZ #15759: Fix bug in _dl_unmapChris Metcalf2013-07-233-4/+16
| | | | | | | | | | | 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
* tile: default to little-endian in bits/endian.hChris Metcalf2013-06-192-3/+5
| | | | | | | | 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)
* tile: improve detection for missing -mcmodel=large supportChris Metcalf2013-06-094-4/+41
| | | | | | | | | | | | | | | 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)
* Backport fixes for BZ #15006 from master.Wilhelm Eger2013-05-227-7/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update German translations.David S. Miller2013-03-302-3/+7
| | | | * po/de.po: Update from translation team.
* Add BZ#11261 to 2.16 fixed bug list.Carlos O'Donell2013-03-171-17/+17
|
* Update German translations.David S. Miller2013-01-312-2/+6
| | | | * po/de.po: Update from translation team.
* Add MSG_FASTOPENAndreas Jaeger2013-01-112-2/+9
| | | | | | | [BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7. (cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)
* Sync netinet/tcp.h with upstream Linux kernel.David S. Miller2013-01-093-15/+82
| | | | | | | | | | | | | | | [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.
* Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger2013-01-092-1/+8
|
* Update Catalan translations.David S. Miller2013-01-012-1277/+1455
| | | | * po/ca.po: Update from translation team.
* Update French translation.David S. Miller2013-01-012-457/+475
| | | | * po/fr.po: Update from translation team.
* Update version.h and include/features.h for 2.17 release. glibc-2.17David S. Miller2012-12-242-3/+3
|
* tile: fix DWARF bug in clone() for created threadChris Metcalf2012-12-212-1/+6
| | | | | | | | | | | | | 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.
* Update Croatian translations.David S. Miller2012-12-212-655/+673
| | | | * po/hr.po: Update from translation team.
* S/390: Update libm-test-ulps.Andreas Krebbel2012-12-212-62/+843
|
* Remove trailing space.Steve Ellcey2012-12-191-1/+1
|
* 2012-12-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey2012-12-192-0/+6
| | | | * NEWS: Mention new memcpy for MIPS.
* Fix AArch64 typo.Marcus Shawcroft2012-12-182-1/+5
|
* Update Russian translations.David S. Miller2012-12-152-466/+484
| | | | * po/ru.po: Update from translation team.