aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-06-03Fixed pthread_spin_lock on sparc32/64 (bug 16882)release/2.17/masterGuo Yixuan
[BZ #16882] * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S (pthread_spin_lock): Branch out of spin loop to proper location. * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S (pthread_spin_lock): Likewise. * nptl/tst-spin4.c: New test. * nptl/Makefile (tests): Add tst-spin4.
2014-05-17Fix sparc memcpy data corruption when using niagara2 optimized routines.Jose E. Marchesi
* sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing membar to avoid block loads/stores to overlap previous stores.
2014-05-16SPARC: add prlimit and prlimit64 in <bits/resource.h> (BZ #16943)Aurelien Jarno
prlimit and prlimit64 have been added in the main <bits/resource.h>, but not in the SPARC specific version. Fix that. Note: this is Debian bug#703559, reported by Emilio Pozuelo Monfort <pochu@debian.org> (cherry picked from commit d16e6ec7ca2c861ba681e3a2fbd431725774292e)
2014-05-07SPARC: add EFD_SEMAPHORE in <bits/eventfd.h> (BZ #16916)Aurelien Jarno
EFD_SEMAPHORE has been added in the main <bits/eventfd.h>, but not in the SPARC specific version. Fix that. (cherry picked from commit 83df9ad0cc861ef24f08a88c5a4c055e2516d33c)
2014-05-01NEWS: Add 16885 to fixed bug list.David S. Miller
2014-05-01Fix v9/64-bit strcmp when string ends in multiple zero bytes.David S. Miller
[BZ #16885] * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when multiple zero bytes exist at the end of a string. Reported by Aurelien Jarno <aurelien@aurel32.net> * string/test-strcmp.c (check): Add explicit test for situations where there are multiple zero bytes after the first.
2014-01-29Disable x87 inline functions for SSE2 mathH.J. Lu
When i386 and x86-64 mathinline.h was merged into a single mathinline.h, "gcc -m32" enables x87 inline functions on x86-64 even when -mfpmath=sse and SSE2 is enabled. It is a regression on x86-64. We should check __SSE2_MATH__ instead of __x86_64__ when disabling x87 inline functions. (cherry picked from commit 409e00bd69b8d8dd74d7327085351d26769ea6fc) Conflicts: ChangeLog NEWS sysdeps/x86/fpu/bits/mathinline.h
2014-01-05Fix race in free() of fastbin chunk: BZ #15073Maxim Kuvyrkov
Perform sanity check only if we have_lock. Due to lockless nature of fastbins we need to be careful derefencing pointers to fastbin entries (chunksize(old) in this case) in multithreaded environments. The fix is to add have_lock to the if-condition checks. The rest of the patch only makes code more readable. * malloc/malloc.c (_int_free): Perform sanity check only if we have_lock. Conflicts: ChangeLog NEWS
2013-07-23tile BZ #15759: Fix bug in _dl_unmapChris Metcalf
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
2013-06-19tile: default to little-endian in bits/endian.hChris Metcalf
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)
2013-06-09tile: improve detection for missing -mcmodel=large supportChris Metcalf
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)
2013-05-22Backport fixes for BZ #15006 from master.Wilhelm Eger
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.
2013-03-30Update German translations.David S. Miller
* po/de.po: Update from translation team.
2013-03-17Add BZ#11261 to 2.16 fixed bug list.Carlos O'Donell
2013-01-31Update German translations.David S. Miller
* po/de.po: Update from translation team.
2013-01-11Add MSG_FASTOPENAndreas Jaeger
[BZ #15003] * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New value. Sync with Linux 3.7. (cherry picked from commit c6fe55cf6089fc5cf1cea15fc7e1c9a8b90d9fda)
2013-01-09Sync netinet/tcp.h with upstream Linux kernel.David S. Miller
[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.
2013-01-09Add new defines from Linux 3.7 to <netinet/tcp.h>Andreas Jaeger
2013-01-01Update Catalan translations.David S. Miller
* po/ca.po: Update from translation team.
2013-01-01Update French translation.David S. Miller
* po/fr.po: Update from translation team.
2012-12-24Update version.h and include/features.h for 2.17 release.glibc-2.17David S. Miller
2012-12-21tile: fix DWARF bug in clone() for created threadChris Metcalf
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.
2012-12-21Update Croatian translations.David S. Miller
* po/hr.po: Update from translation team.
2012-12-21S/390: Update libm-test-ulps.Andreas Krebbel
2012-12-19Remove trailing space.Steve Ellcey
2012-12-192012-12-19 Steve Ellcey <sellcey@mips.com>Steve Ellcey
* NEWS: Mention new memcpy for MIPS.
2012-12-18Fix AArch64 typo.Marcus Shawcroft
2012-12-15Update Russian translations.David S. Miller
* po/ru.po: Update from translation team.
2012-12-13Fix typo in previous commit.David S. Miller
2012-12-13Mention IFUNC enhancements to testsuite in NEWS.David S. Miller
* NEWS: Mention IFUNC testsuite enhancements.
2012-12-13Update Polish and Bulgarian translations.David S. Miller
* po/pl.po: Update from translation team. * po/bg.po: Likewise.
2012-12-13Update manual/contrib.texiDavid S. Miller
* manual/contrib.texi (Contributors): Update entries for Hongjiu Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
2012-12-12Update Swedish translations.David S. Miller
* po/sv.po: Update from translation team.
2012-12-12Update Vietnamese translations.David S. Miller
* po/vi.po: Update from translation team.
2012-12-11Update Czech PO file.David S. Miller
* po/cs.po: Update from translation team.
2012-12-11Update German, Dutch, and Esperanto translations.David S. Miller
* po/de.po: Update from translation team. * po/eo.po: Likewise. * po/nl.po: Likewise.
2012-12-11Move node Argp Helper Functions to follow Argp Parsing StateSiddhesh Poyarekar
Resolves BZ #14246.
2012-12-11Mention if terminating null is included in NAME_MAX/PATH_MAXSiddhesh Poyarekar
Fixes BZ #14872.
2012-12-10Update cs translationsAndreas Jaeger
2012-12-10Mark BZ#10114 as fixed.Richard Henderson
2012-12-10aarch64: Fix compiler warning for unused declaration _x0Marcus Shawcroft
2012-12-08Fix some build warnings on s390xSiddhesh Poyarekar
2012-12-08Minor ChangeLog formatting fixSiddhesh Poyarekar
2012-12-08BZ #14833: message.texi typo fixesBenno Schulenberg
2012-12-07 [BZ #14898]Andreas Schwab
* include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]: Change to -1.
2012-12-07Update libc.pot in preparation for giving tarball to translation project.David S. Miller
* po/libc.pot: Update.
2012-12-07soft-fp: Fix used without set warning in _FP_MUL and _FP_DIVRichard Henderson
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.
2012-12-07alpha: Fix redefinition of __isnanl macro warningRichard Henderson
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.
2012-12-07alpha: Fix redefinition of __isnanl macro warningRichard Henderson
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.
2012-12-07alpha: Avoid builtin warning for isnanfRichard Henderson