aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka
2014-02-10Fix previous commit.Ondřej Bílka
2014-02-10Deduplicate setenv.Ondřej Bílka
Setenv contained a code path that was redundant as it could be handled in general case.
2014-02-10Remove THREAD_STATS.Ondřej Bílka
A THREAD_STATS macro duplicates gathering information that could be obtained by systemtap probes instead.
2014-02-08shm_open: sync with logic in sem_openMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08sem_open: allow RAMFS_MAGIC for mount pointsMike Frysinger
A ramfs mount supports the same requirements as a tmpfs, so accept that as a magic type too. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08manual: setjmp: fix typos/grammarMike Frysinger
Should hopefully be all obvious stuff. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tst-backtrace4: expand output even on failuresMike Frysinger
When debugging failures in this test, it's helpful to see as much output as possible. So rather than returning immediately, let the code run as far as it can. We still mark failures as soon as they happen. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tst-longjmp_chk3: new test for checking sigaltstack edge casesMike Frysinger
Make sure the longjmp checking logic catches stacks that are slightly outside of a valid alternative signal stack. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tests: unify fortification handler logicMike Frysinger
We have multiple tests that copy & paste the same logic for disabling the fortification output. Let's unify this in the test-skeleton instead. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tst-longjmp_chk: add comments and convert to test-skeletonMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08linux: bits/in.h: sync with latest kernel headersMike Frysinger
Forgot to include ChangeLog update. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08linux: bits/in.h: sync with latest kernel headersMike Frysinger
This pulls in the latest defines for {g,s}etsockopt. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08tzselect: stop requiring kshMike Frysinger
This script works fine under bash (which we already require), so drop the legacy ksh munging. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08linux_fsinfo.h: sync with current linux/magic.hMike Frysinger
Import the current list of defines available in the kernel headers. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2014-02-08Fix whitespace in ARM files to allow move.Joseph Myers
2014-02-08Move arm from ports to libc.Joseph Myers
I've moved the ARM port from ports to the main sysdeps hierarchy. Beyond the README update, the move of the files was simply git mv ports/sysdeps/arm sysdeps/arm git mv ports/sysdeps/unix/arm sysdeps/unix/arm git mv ports/sysdeps/unix/sysv/linux/arm sysdeps/unix/sysv/linux/arm and in addition to the ChangeLog entries here, I put a note at the top of ports/ChangeLog.arm similar to that at the top of ChangeLog.powerpc. There is deliberately no NEWS change, as I think it makes the most sense to put in a general note above all ports having moved if we can achieve that for 2.20. Tested that disassembly of installed shared libraries for arm is the same before and after this patch, except for data (not instructions) in ld.so (there are assertions in sysdeps/arm/dl-machine.h, and the path by which that file is found, and so by which it appears in the assertion message, changes as a result of the move). * sysdeps/arm: Move directory from ports/sysdeps/arm. * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm. * sysdeps/unix/sysv/linux/arm: Move directory from ports/sysdeps/unix/sysv/linux/arm. * README: Update listing for arm-*-linux-gnueabi. ports/ChangeLog.arm: * sysdeps/arm: Move directory to ../sysdeps/arm. * sysdeps/unix/arm: Move directory to ../sysdeps.arm. * sysdeps/unix/sysv/linux/arm: Move directory to ../sysdeps/unix/sysv/linux/arm.
2014-02-08Move shared sysdeps files from alpha to arm.Joseph Myers
This patch prepares for moving arm from ports to libc (see overall plan at <https://sourceware.org/ml/libc-alpha/2014-01/msg00373.html> and discussion of ordering starting at <https://sourceware.org/ml/libc-ports/2014-01/msg00071.html>) by reversing the #include order between arm and alpha, so that arm can move early as a test for the general pattern of moving architectures. MicroBlaze files (that used the same alpha files) were made to include the files directly from their new locations rather than indirecting. Tested that disassembly of installed shared libraries for arm is the same before and after this patch. * sysdeps/unix/sysv/linux/alpha/msgctl.c: Move to sysdeps/unix/sysv/linux/arm/msgctl.c and #include that file. * sysdeps/unix/sysv/linux/alpha/semctl.c: Move to sysdeps/unix/sysv/linux/arm/semctl.c and #include that file. * sysdeps/unix/sysv/linux/alpha/shmctl.c: Move to sysdeps/unix/sysv/linux/arm/shmctl.c and #include that file. * sysdeps/unix/sysv/linux/arm/msgctl.c: Move from sysdeps/unix/sysv/linux/alpha/msgctl.c instead of #include of that file. * sysdeps/unix/sysv/linux/arm/semctl.c: Move from sysdeps/unix/sysv/linux/alpha/semctl.c instead of #include of that file. * sysdeps/unix/sysv/linux/arm/shmctl.c: Move from sysdeps/unix/sysv/linux/alpha/shmctl.c instead of #include of that file. * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Include sysdeps/unix/sysv/linux/arm/msgctl.c instead of sysdeps/unix/sysv/linux/alpha/msgctl.c. * sysdeps/unix/sysv/linux/microblaze/semctl.c: Include sysdeps/unix/sysv/linux/arm/semctl.c instead of sysdeps/unix/sysv/linux/alpha/semctl.c. * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Include sysdeps/unix/sysv/linux/arm/shmctl.c instead of sysdeps/unix/sysv/linux/alpha/shmctl.c.
2014-02-08Remove am33 port.Joseph Myers
This patch removes the am33 port (no other port #includes any files from it), as previously discussed (see <https://sourceware.org/ml/libc-ports/2014-01/msg00046.html>).
2014-02-07Avoid comma operator warnings.Roland McGrath
2014-02-08Open development for 2.20glibc-2.19.90Allan McRae
2014-02-07Update version.h and include/features.h for 2.19 releaseglibc-2.19Allan McRae
2014-02-07Bug 15968 was fixed by commit 0748546f660d27a2ad29fa6174d456e2f6490758.Joseph Myers
2014-02-07Bug 6981 was fixed by commit 1484e65736f4cab27e5051e0f06be8470e69af82.Joseph Myers
2014-02-06BZ #16529: Fix pedantic warning with netinet/in.h.Carlos O'Donell
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 Poyarekar
Update blurb for Roland, Alex, Ryan, Joseph and Carlos.
2014-02-05Add missing ChangeLog from yesterday's sparc ULPs update.David S. Miller
2014-02-06Revert "microblaze BZ #15705: Define MMAP2_PAGE_SHIFT"David Holsgrove
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 McRae
This reverts commit a494421f5268df333c589d71104a39bb6a9cff19. Conflicts: NEWS
2014-02-06Revert "Patch [1/4] async-signal safe TLS."Allan McRae
This reverts commit 69a17d9d245dc3551792e95e1823cc2d877592f3.
2014-02-06Revert "Patch 3/4 of the effort to make TLS access async-signal-safe."Allan McRae
This reverts commit 35e8f7ab94c910659de9d507aa0f3e1f8973d914.
2014-02-06Revert "Patch 2/4 of the effort to make TLS access async-signal-safe."Allan McRae
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 McRae
This reverts commit 7f507ee17aee720fa423fa38502bc3caa0dd03d7. Conflicts: ChangeLog nptl/tst-tls7.c nptl/tst-tls7mod.c
2014-02-05Fix comment in kernel-features.h.Carlos O'Donell
Use "was" not "were."
2014-02-05Fix tst-setgetname for Linux kernels < 2.6.33.Carlos O'Donell
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 Holsgrove
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 Holsgrove
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 Holsgrove
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 Poyarekar
2014-02-05Fix infinite loop in ftell when writing wide char data (BZ #16398)Siddhesh Poyarekar
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 Poyarekar
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. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from 32-bit.
2014-02-04PowerPC: powerpc64le abilist for 2.17Adhemerval Zanella
This patch is the abifiles for powerpc64le based on GLIBC 2.17.
2014-02-04PowerPC: Change powerpc64le start ABI to 2.17.Adhemerval Zanella
2014-02-04abilist-pattern configurabilityAdhemerval Zanella
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 Wong
Tested on an AMD FX-8320 CPU
2014-02-04Update x86_64 ULPs (AMD Family 10h)Eric Wong
2014-02-03Remove excessive redundant ChangeLog header lines.Roland McGrath
2014-02-03[hppa] Regenerate libm-test-ulps.Carlos O'Donell
Regenerate libm-test-ulps from scratch.
2014-02-03Fix manual build warnings.Carlos O'Donell
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.