aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2014-08-10nptl: handle EAGAIN with some futex operationsgentoo/2.19Carlos O'Donell3-5/+5
2014-08-10hppa: fix __O_SYNC to match the kernelJohn David Anglin1-1/+1
2014-08-10hppa: fix pthread spinlockJohn David Anglin2-8/+8
2014-08-10hppa: fix bug in floating point exception supportJohn David Anglin2-5/+5
2014-08-10hppa: fix build problems with atomic codeJohn David Anglin1-31/+35
Specifically: ../ports/sysdeps/unix/sysv/linux/hppa/bits/atomic.h:68:6: error: can’t find a register in class ‘R1_REGS’ while reloading ‘asm’
2014-08-10hppa: name setjmp unionJohn David Anglin1-1/+1
Some of the C++ tests want this, and this is what all other arches have done, so do it on hppa too. 2013-07-07 John David Anglin <dave.anglin@bell.net> * ports/sysdeps/hppa/bits/setjmp.h: Name anonymous union.
2014-06-14Fix sign of input to bsloww1 (BZ #16623)Siddhesh Poyarekar1-6/+10
In 84ba214c, I removed some redundant sign computations and in the process, I incorrectly got rid of a temporary variable, thus passing the absolute value of the input to bsloww1. This caused #16623. This fix undoes the incorrect change. (cherry picked from commit ffe768a90912f9bce43b70a82576b3dc99e3121c) https://bugs.gentoo.org/509494 https://sourceware.org/bugzilla/show_bug.cgi?id=16623
2014-06-14posix_spawn_faction_addopen: Add missing string.h include directiveStefan Liebler1-0/+1
This is needed to avoid a PLT call on s390. (cherry picked from commit 35a5e3e338ae17f3d42c60a708763c5d498fb840) https://bugs.gentoo.org/513090 https://sourceware.org/bugzilla/show_bug.cgi?id=17048
2014-06-14posix_spawn_file_actions_addopen needs to copy the path argument (BZ 17048)Florian Weimer4-7/+40
POSIX requires that we make a copy, so we allocate a new string and free it in posix_spawn_file_actions_destroy. Reported by David Reid, Alex Gaynor, and Glyph Lefkowitz. This bug may have security implications. (cherry picked from commit 89e435f3559c53084498e9baad22172b64429362) https://bugs.gentoo.org/513090 https://sourceware.org/bugzilla/show_bug.cgi?id=17048
2014-02-08arm: fix PIC vs SHARED typosDavid Lamparter2-4/+4
the logic in setjmp/__longjmp incorrectly tie to "PIC" to figure out whether the code is going into a shared library when it should be using "SHARED". otherwise, building static PIC code goes wrong. https://bugs.gentoo.org/336914 http://sourceware.org/ml/libc-ports/2011-09/msg00018.html 2011-09-19 David Lamparter <equinox-gentoo@diac24.net> * sysdeps/arm/eabi/setjmp.S: Change PIC to SHARED. * sysdeps/arm/eabi/__longjmp.S: Likewise
2014-02-08gentoo: disable building in timezone subdirMike Frysinger1-1/+1
We've split this out into the package sys-libs/timezone-data
2014-02-08gentoo: support running tests under sandboxStephanie J. Lockwood-Childs3-3/+3
when glibc runs its tests, it does so by invoking the local library loader. in Gentoo, we build/run inside of our "sandbox" which itself is linked against libdl (so that it can load libraries and pull out symbols). the trouble is that when you upgrade from an older glibc to the new one, often times internal symbols change name or abi. this is normally OK as you cannot use libc.so from say version 2.3.6 but libpthread.so from say version 2.5, so we always say "keep all of the glibc libraries from the same build". but when glibc runs its tests, it uses dynamic paths to point to its new local copies of libraries. if the test doesnt use libdl, then glibc doesnt add its path, and when sandbox triggers the loading of libdl, glibc does so from the host system system. this gets us into the case of all libraries are from the locally compiled version of glibc except for libdl.so. http://bugs.gentoo.org/56898
2014-02-08nptl: handle EAGAIN with some futex operationsCarlos O'Donell3-4/+5
https://bugs.gentoo.org/452184
2014-02-08rtld: do not ignore arch-specific CFLAGSGuy Martin1-1/+1
https://bugs.gentoo.org/452184 http://sourceware.org/bugzilla/show_bug.cgi?id=15005 http://sourceware.org/ml/libc-alpha/2013-01/msg00247.html
2014-02-08nptl: support thread stacks that grow upCarlos O'Donell5-13/+55
http://bugs.gentoo.org/301642
2014-02-08reload /etc/resolv.conf when it has changedThorsten Kukuk1-0/+15
if /etc/resolv.conf is updated, then make sure applications already running get the updated information. ripped from SuSE http://bugs.gentoo.org/177416
2014-02-08Fix localedef segfault when run under exec-shield, PaX or similarJakub Jelinek1-0/+36
http://bugs.debian.org/198099 http://bugs.debian.org/231438
2014-02-08make fortify logic checks less angryMike Frysinger1-3/+4
the fortify/optimization check does not play well with our default gcc specs http://sourceware.org/ml/libc-alpha/2012-06/msg00068.html
2014-02-08workaround crash when handling signals in static PIEsMike Frysinger1-1/+1
work around ... not entirely sure what is going on here. 2011-03-01 squeezy <vina@mailserver.eu> * sysdeps/unix/sysv/linux/x86_64/sigaction.c fix the __restore_rt symbol http://bugs.gentoo.org/283470
2014-02-08disable ldconfig during installMike Frysinger1-0/+1
do not bother running ldconfig on DESTDIR. it wants to write the temp cache file outside of the chroot. doesnt matter anyways as we wont use the cache results (portage will rebuild cache), so running ldconfig is simply a waste of time. http://sourceware.org/ml/libc-alpha/2012-08/msg00118.html https://bugs.gentoo.org/431038
2014-02-07Update version.h and include/features.h for 2.19 releaseglibc-2.19Allan McRae2-3/+3
2014-02-07Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.Joseph Myers2-8/+9
2014-02-07Bug 6981 was fixed by commit 1484e65736f4cab27e5051e0f06be8470e69af82.Joseph Myers2-18/+19
2014-02-06BZ #16529: Fix pedantic warning with netinet/in.h.Carlos O'Donell3-2/+7
When compiling with pedantic the following warning is seen: gcc -Wall -pedantic -O0 -o test test.c In file included from test.c:3:0: /path/inet/netinet/in.h:111:21: warning: comma at end of \ enumerator list [-Wpedantic] IPPROTO_MH = 135, /* IPv6 mobility header. */ ^ It is valid C99 to have a trailing comma after the last item in an enumeration. However it is not valid C90. If possible glibc attempts to keep all headers C90 + long long without requiring C99 features. In this case it's easy to fix the headers and it removes the warning seem with -pedantic.
2014-02-06Update contrib.texiSiddhesh Poyarekar2-7/+17
Update blurb for Roland, Alex, Ryan, Joseph and Carlos.
2014-02-05Add missing ChangeLog from yesterday's sparc ULPs update.David S. Miller1-0/+5
2014-02-06Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"David Holsgrove3-21/+12
This reverts commit 79b846ecc0275ceb02b5e2d3b03a34d7c43e6bf9. Conflicts: NEWS ports/ChangeLog.microblaze Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-02-06Revert "BZ 16133 has been fixed (async signal safe TLS)."Allan McRae1-6/+6
This reverts commit a494421f5268df333c589d71104a39bb6a9cff19. Conflicts: NEWS
2014-02-06Revert "Patch [1/4] async-signal safe TLS."Allan McRae5-73/+0
This reverts commit 69a17d9d245dc3551792e95e1823cc2d877592f3.
2014-02-06Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."Allan McRae5-26/+5
This reverts commit 35e8f7ab94c910659de9d507aa0f3e1f8973d914.
2014-02-06Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."Allan McRae4-185/+16
This reverts commit 1f33d36a8a9e78c81bed59b47f260723f56bb7e6. Conflicts: elf/dl-misc.c Also reverts the follow commits that were bug fixes to new code introduced in the above commit: 063b2acbce83549df82ab30f5af573f1b9c4bd19 b627fdd58554bc36bd344dc40a8787c4b7a9cc46 e81c64bba13d2d8b2a4e53254a82cc80f27c8497
2014-02-06Revert "Async-signal safe TLS."Allan McRae9-333/+46
This reverts commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7. Conflicts: ChangeLog nptl/tst-tls7.c nptl/tst-tls7mod.c
2014-02-05Fix comment in kernel-features.h.Carlos O'Donell2-1/+3
Use "was" not "were."
2014-02-05Fix tst-setgetname for Linux kernels < 2.6.33.Carlos O'Donell4-0/+32
Support for /proc/self/task/$tid/comm as added in Linux 2.6.33, therefore since the test tst-setgetname relies on this functionality to operate we must skip the test in kernels < 2.6.33. We wrap the checks with __ASSUME_PROC_PID_TASK_COMM such that in the future when we move arch_minimum_kernel to 2.6.33 we can remove this code.
2014-02-05microblaze: Update libm-test-ulpsDavid Holsgrove3-3390/+4095
Update libm-test-ulps for microblaze, and remove unneeded copy libm-test-ulps_new. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/microblaze/libm-test-ulps: Update. * sysdeps/microblaze/libm-test-ulps_new: Deleted redundant file. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-02-05microblaze BZ #15705: Define MMAP2_PAGE_SHIFTDavid Holsgrove3-12/+21
Define MMAP2_PAGE_SHIFT to -1 for microblaze so the correct shift for the syscall is determined dynamically using getpagesize ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/unix/sysv/linux/microblaze/mmap64.c: New file. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-02-05microblaze: Use <fenv.h> fallback functionsDavid Holsgrove3-50/+5
Delete redundant fegetround.c and fesetround.c for microblaze and use the fallback functions instead. ports/ChangeLog.microblaze 2014-02-04 David Holsgrove <david.holsgrove@xilinx.com> * sysdeps/microblaze/fegetround.c: Delete redundant file. * sysdeps/microblaze/fesetround.c: Likewise. Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
2014-02-05Update NEWS for #16398Siddhesh Poyarekar1-2/+2
2014-02-05Fix infinite loop in ftell when writing wide char data (BZ #16398)Siddhesh Poyarekar3-5/+115
ftell tries to avoid flushing the buffer when it is in write mode by converting the wide char data and placing it into the binary buffer. If the output buffer space is full and there is data to write, the code reverts to flushing the buffer. This breaks when there is space in the buffer but it is not enough to convert the next character in the wide data buffer, due to which __codecvt_do_out returns a __codecvt_partial status. In this case, ftell keeps running in an infinite loop. The fix here is to detect the __codecvt_partial status in addition to checking if the buffer is full. I have also added a test case that demonstrates the infinite loop.
2014-02-05Update contrib.texiSiddhesh Poyarekar2-4/+21
This may not be a complete list of new contributors added to the list, so I'd love it if more people look at contributions and suggest additions.
2014-02-04Adjust sparc ULPs.David S. Miller1-0/+5
* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from 32-bit.
2014-02-04PowerPC: powerpc64le abilist for 2.17Adhemerval Zanella14-0/+3178
This patch is the abifiles for powerpc64le based on GLIBC 2.17.
2014-02-04PowerPC: Change powerpc64le start ABI to 2.17.Adhemerval Zanella3-2/+7
2014-02-04abilist-pattern configurabilityAdhemerval Zanella3-0/+47
This patch creates implicit rules to match the abifiles if abilist-pattern is defined in the architecture Makefile. This allows machine specific Makefiles to define different abifiles names (for instance *-le.abilist for powerpc64le).
2014-02-04Update x86_64 ULPs (AMD family 21, model 2)Eric Wong2-3/+165
Tested on an AMD FX-8320 CPU
2014-02-04Update x86_64 ULPs (AMD Family 10h)Eric Wong2-2/+615
2014-02-03Remove excessive redundant ChangeLog header lines.Roland McGrath1-74/+0
2014-02-03[hppa] Regenerate libm-test-ulps.Carlos O'Donell2-42/+4448
Regenerate libm-test-ulps from scratch.
2014-02-03Fix manual build warnings.Carlos O'Donell2-2/+7
The mixed use of automatic and manual node next, previous, and top specification causes warning when building the manual. This fix explicitly specifies the node's next, previous and top values to fix the warning.
2014-02-03* manual/macros.texi: Add comments before MTASC-safety macros.Alexandre Oliva2-2/+50