summaryrefslogtreecommitdiffstats
path: root/stdlib/labs.c (unfollow)
Commit message (Collapse)AuthorFilesLines
2009-11-16New simplified make dist using git archive.Roland McGrath3-39/+40
(cherry picked from commit 6cfe8609b890f33e6c7235549cb02c3c6a0f3820)
2009-11-13Correct readahead syscall wrapper on powerpc32.Andreas Schwab2-0/+8
Due to alignment of 64bit parameters there is a dummy second argument. But other than that the syscall arguments are directly mapped to the function arguments. (cherry picked from commit 5b55d23611e939340d658f42212c474c8188053e)
2009-11-13Fix preadv, pwritev and fallocate for -D_FILE_OFFSET_BITS=64.Jakub Jelinek9-16/+30
As reported in http://bugzilla.redhat.com/533063 , preadv/pwritev prototypes are wrong on 32-bit arches with -D_FILE_OFFSET_BITS=64 and as I've just found, fallocate is wrong too. The problem is that only off_t is remapped to the 64-bit type transparently, __off_t is not. (cherry picked from commit 34df851b3364e14133b865574dbc5f2a8b88874e)
2009-09-18Support binutils 2.100 and 3.0.H.J. Lu3-4/+8
(cherry picked from commit 0549ce8ec1f66a41c59815e50dd48ffd74fabb52)
2009-09-18Fix malformed #pragma.Andreas Schwab2-1/+5
(cherry picked from commit 3d60eb17340768688bd287580c32365c1e925487)
2009-09-18Fix endless loop in localedef.Ulrich Drepper2-28/+35
localedef got into an endless loop in case order_start was used for the unnamed_section twice and the first use didn't actually result into any definition. (cherry picked from commit 7a7e49c020125d444fec7fded51bd5f82bfc8c49)
2009-09-18Handle POSIX2_LINE_MAX in getconf.Ulrich Drepper2-0/+6
(cherry picked from commit d76da20f7f77e9dfc7e81ebaf0f9902699a873e8)
2009-09-18Support binutils 2.20.H.J. Lu3-4/+8
(cherry picked from commit 4c14c8c348ee3e9a5fea3608cabcabdb275b6141)
2009-09-18Fix whitespaces.Ulrich Drepper1-1/+1
(cherry picked from commit 01034d7590f0db29a689d0037cf9b837e38e7482)
2009-09-18Fix timer_create to initialize timer_t properly.Suzuki Poulose2-1/+10
(cherry picked from commit 38eb61366303c2857f1b00785757bc21da983d70)
2009-09-18Fix lookup of group names in hesiod initgroups.Andreas Schwab2-5/+8
Resolving names from a grplist entry actually never worked. (cherry picked from commit 2eeb9a5d73bd86261b69e61955741e3ce86c28f6)
2009-09-18Fix fsetpos on wide stream.Andreas Schwab4-36/+97
(cherry picked from commit 5d2e69766a8faba5bae37702094c36113365a6ca)
2009-09-18Cleanup _IO_wfile_seekoff.Andreas Schwab2-71/+45
This reformulates the in-buffer optimisation check to match the code in _IO_new_file_seekoff. No functional changes, but easier to understand. (cherry picked from commit d840539e1271020600edba752e6ee908c00f66eb)
2009-09-18Fix use of 64-bit insn in 32-bit memcpy for POWER6.Joshua W. Boyer2-1/+6
(cherry picked from commit a050d2a5e722876623a70d501c3cdfedfce8b5ce)
2009-09-18Fix problems with memory allocation in assert.Ulrich Drepper1-0/+6
In case the allocator is corrupted and an assert triggers, we shouldn't allocate any more memory. Use a private assert definition which doesn't use malloc. (cherry picked from commit b5c03e105cb445a7dc08289e7e6751434c3262ce)
2009-09-18Add local assert function to avoid problems with memory allocation inUlrich Drepper1-439/+461
the real one. (cherry picked from commit 72f9026327c109c3d72b4f17ee0afc8b4e2d6f00, one merge conflict within whitespace changes resolved)
2009-09-18SH lowlevellock broken for FUTEX_CLOCK_REALTIME.Andrew Stubbs2-9/+14
(cherry picked from commit 7812c65b908916f34161e41a76114004d0fcebb3)
2009-09-18Fix generic fdiml.Joseph Myers2-2/+6
(cherry picked from commit e9f145cba8691a81dac379914bb3895360795a9b)
2009-09-18Fix overflow handling in fdim.Ulrich Drepper4-8/+38
(cherry picked from commit f0c281e072fd324261a51558284c04e230c0178d)
2009-09-18Fix td_ta_map_lwp2thr logging and early sanity check.Roland McGrath2-7/+14
(cherry picked from commit a0e25a886a9128b280b4c05bc9c6dd12377ea868)
2009-09-18Extend last test case.Ulrich Drepper1-1/+8
(cherry picked from commit a1ed6c284a2ad191f13c640d34c2563b5c366267)
2009-09-18Add test case for last fixed regex bug.Ulrich Drepper3-0/+18
(cherry picked from commit 8a7cea019947a68e641e9201813fe01ba35cfd1a)
2009-09-18Recognize ill-formed { } expressions in regcomp.Ulrich Drepper2-1/+4
(cherry picked from commit 52db8039f54672abe6a6da5fb107fa52aca42547)
2009-09-18Also correct _POSIX2_* constants in case older standards are selected.Ulrich Drepper2-7/+21
(cherry picked from commit bdc7f5d76b4f284475595dddc79f0e0f9720ec20)
2009-09-18Define _POSIX_VERSION correctly when older POSIX versions are selected.Ulrich Drepper2-1/+20
(cherry picked from commit c6b6723e6b756d36d9912a1c430459634e15758b)
2009-09-18Add CFI directives to x86-64 pthread_rwlock_unlock.Ulrich Drepper2-2/+8
(cherry picked from commit ae0d54500381eb9d40710a259819d9b745a7297f)
2009-09-18Add CFI directives to x86-64 pthread_rwlock_{rd,wr)lock.Ulrich Drepper3-2/+12
(cherry picked from commit 1bc2b97ee42dd653890657a4c910bd144247ea11)
2009-09-18SH: fix clobber list in stdlib/longlong.hSUGIOKA Toshinobu2-3/+9
(cherry picked from commit 78fd882a7bf6153f33b73363c542e1f37c098c56)
2009-09-18Fix obstack* on i?86Jakub Jelinek2-0/+5
obstack calls several callbacks, so on i?86 it'd better be compiled without -mpreferred-stack-boundary=2, otherwise the callbacks are called with misaligned stack. (cherry picked from commit 1877ea16ca0714abd715d6ce0aa1b840c3850241)
2009-09-18Stop backtrace when we make no more progress.Ulrich Drepper2-2/+13
(cherry picked from commit 2dec6007d183aa51abedbbb048382973129f3935)
2009-08-17Handle missing NSS modules and those without callbacks.Ulrich Drepper2-0/+8
getaddrinfo didn't update the status variable in that round of the loop if no callback was used. (cherry picked from commit 657317537c09b82a2feb1194fda045f63e3a1222)
2009-08-04Build pt_chown as PIE.Ulrich Drepper2-0/+17
(cherry picked from commit f051ddfe22d3db4e77d6a545d5363be8b986cb96)
2009-08-04Extend pt_chown to drop privileges.Ulrich Drepper5-11/+55
If libcap is available, use it to drop privileges in pt_chown before starting the work to change the permissions and ownership of the slave device. (cherry picked from commit f793b62438a3cfdbcc5ba453eebee1db3f315bea)
2009-08-04Consolidate PIE linking Makefile rules.H.J. Lu4-17/+27
(cherry picked from commit 435aa54b3b9c1c87498e8bb3831394fd42220fa7)
2009-07-29Implement accept4 for more archs using socketcall.Jakub Jelinek5-4/+76
So far accept4 was only supported on archs using socketcall for x86. This patch adds support for the remaining archs. (cherry picked from commit 1e1dc4e82dd4f31b87440388614c3e4bccdd5f3c)
2009-07-29Fix whitespace in last patch.Ulrich Drepper2-2/+2
(cherry picked from commit 241e68032077f92de17f69ac77161807c232b346)
2009-07-29pthread_mutex_unlock needs to use _rel semantics for atomic ops.Ulrich Drepper2-3/+9
(cherry picked from commit e73e694e38b7b222eec3ec5897eb507d88bb8928)
2009-07-29Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper4-6/+34
(cherry picked from commit aa7492d20e5a2cef54dab7b41f534048b3eca479)
2009-07-29Handle SERVFAIL, NOTIMP, REFUSED replies from DNS server better.Ulrich Drepper2-5/+7
When doing IPv4+6 lookups we have to pass up the error record from send_dg. (cherry picked from commit e28b969b49811a30887e7a252ac1804a055fe297)
2009-07-29remove subsumed .gitignore entries and filesJim Meyering9-66/+17
(cherry picked from commit edeabc047e56680a293c39992d227b4c430cc0a7)
2009-07-29remove mpn-copy.mk from .gitignore filesJim Meyering3-3/+3
(cherry picked from commit 863615332688db0aa6db3dea642752241f051e5c)
2009-07-29remove COPYING* from .gitignore filesJim Meyering7-7/+7
(cherry picked from commit bb87237534eee688ad8c8eab10e433ae6238fc03)
2009-07-29Remove redundant .gitignore files.Andreas Schwab28-168/+0
(cherry picked from commit ff6ff38db28323c6de078614198c2d89e8e1df07)
2009-07-29Sun agreed to a change of the license for the RPC code to a BSD-like license.Ulrich Drepper92-2726/+2526
(cherry picked from commit ab09b221594f12d90a63d29cbf5488d91f39d3f3)
2009-07-16Use correct release semantic in list update.Andreas Schwab2-1/+7
nscd uses lockfree lists and we need to ensure the correct release semantics is used when adding to the list. (cherry picked from commit 50158f95525ca59459a90f2a7bc65ceb892a0807)
2009-07-16Fix race in corruption check.Ulrich Drepper2-2/+29
With atomic fastbins the checks performed can race with concurrent modifications of the arena. If we detect a problem re-do the test after getting the lock. (cherry picked from commit bec466d922ee22b94ac0d00415fb605e136efe6e)
2009-07-16Use rel semantics of cas instead of acq semantics with full barrier before it in _int_freeJakub Jelinek3-13/+35
The following patch fixes catomic_compare_and_exchange_*_rel definitions (which were never used and weren't correct) and uses catomic_compare_and_exchange_val_rel in _int_free. Comparing to the pre-2009-07-02 --enable-experimental-malloc state the generated code should be identical on all arches other than ppc/ppc64 and on ppc/ppc64 should use lwsync instead of isync barrier. (cherry picked from commit bea0ac1d8703091294fe5822d982591c849b5458)
2009-07-16Fix build issue with modules for audit test on machines != x86-64.Ulrich Drepper2-1/+8
(cherry picked from commit 59cbcac015cdd446c346cfd2c2ada3f94ef540b2, removed tst-audit4, tst-audit5 references)
2009-07-16Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2-2/+6
(cherry picked from commit 339717d5f117d118750ec187b1779cafa349249e)
2009-07-16Fix wrong PPC_FEATURE_* values.Andreas Schwab2-2/+7
Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>. (cherry picked from commit 2123d5815eaaa53a772be4b6069bdc6332f2f491)