Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove leftover code from Linux/x86 ____longjmp_chk. | Ulrich Drepper | 2009-08-02 | 1 | -6/+0 |
| | |||||
* | x86/x86-64 now needs <cpuid.h> from gcc. | Ulrich Drepper | 2009-08-02 | 3 | -44/+67 |
| | |||||
* | Remove last trace of bounded pointer handling from ____longjmp_chk on x86-64. | Ulrich Drepper | 2009-08-01 | 1 | -1/+1 |
| | |||||
* | Macro cleanup. | Ulrich Drepper | 2009-07-31 | 2 | -8/+12 |
| | | | | Better definition of the *_NITSET macros. | ||||
* | Merge branch 'master' of file:///net/myware66/home/drepper/gnu/libc | Ulrich Drepper | 2009-07-31 | 3 | -117/+59 |
|\ | |||||
| * | Optimize x86 and x86-64 ____longjmp_chk for Linux. | Ulrich Drepper | 2009-07-31 | 3 | -117/+54 |
| | | |||||
| * | Fix ____longjmp_chk on x86-64. | Ulrich Drepper | 2009-07-31 | 2 | -2/+7 |
| | | | | | | | | | | After a recent change to fix CFI in ____longjmp_chk the test of the ss_flags used the wrong memory location. | ||||
* | | Regenerated. | Ulrich Drepper | 2009-07-31 | 1 | -8/+40 |
|/ | |||||
* | Support multiarch for i686. | H.J. Lu | 2009-07-31 | 13 | -49/+125 |
| | | | | | | This patch adds multiarch support when configured for i686. I modified some x86-64 functions to support 32bit. I will contribute 32bit SSE string and memory functions later. | ||||
* | Fix obstack* on i?86 | Jakub Jelinek | 2009-07-31 | 2 | -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. | ||||
* | Remove CHEC_ESP handling from i386 __longjmp. | Ulrich Drepper | 2009-07-31 | 1 | -9/+0 |
| | |||||
* | Whitespace cleanup. | Ulrich Drepper | 2009-07-30 | 1 | -2/+2 |
| | |||||
* | Add sigstack handling to Linux ____longjmp_chk on i386. | Ulrich Drepper | 2009-07-30 | 4 | -61/+156 |
| | | | | All other i386 ports need to provide their own versions. | ||||
* | ____longjmp_chk is now OS-specific. | Ulrich Drepper | 2009-07-30 | 3 | -145/+151 |
| | | | | | | | We use sigaltstack internally which on some systems is a syscall and should be used as such. Move the x86-64 version to the Linux specific directory and create in its place a file which always causes compile errors. | ||||
* | Change code a bit to correct CFI. | Ulrich Drepper | 2009-07-30 | 1 | -1/+3 |
| | |||||
* | Optimize ____longjmp_chk for x86-64 a bit. | Ulrich Drepper | 2009-07-30 | 1 | -5/+3 |
| | |||||
* | Add CFLAGS definition missing from last patch. | Ulrich Drepper | 2009-07-30 | 1 | -0/+2 |
| | |||||
* | Add test case for ____longjmp_chk vs signal stacks. | Ulrich Drepper | 2009-07-30 | 3 | -1/+119 |
| | |||||
* | Fix x86-64 ____longjmp_chk to handle signal stacks. | Ulrich Drepper | 2009-07-30 | 3 | -7/+111 |
| | | | | | | The simple test previously used might trigger if the longjmp jumps from the signal stack to the normal stack. We now explicitly test for this case. | ||||
* | Stop backtrace when we make no more progress. | Ulrich Drepper | 2009-07-30 | 2 | -2/+13 |
| | |||||
* | Add support for x86-64 fma instruction. | Ulrich Drepper | 2009-07-29 | 6 | -2/+110 |
| | | | | Use it to implement fma and fmaf, if possible. | ||||
* | Prepare use if IFUNC functions outside libc.so. | Ulrich Drepper | 2009-07-29 | 3 | -3/+42 |
| | | | | | | We use a callback function into libc.so to get access to the data structure with the information and have special versions of the test macros which automatically use this function. | ||||
* | Fix x86-64 TCB alignment for future processor versions. | Ulrich Drepper | 2009-07-29 | 3 | -6/+14 |
| | |||||
* | Improve CFI in x86-64 ld.so trampoline code. | Ulrich Drepper | 2009-07-29 | 2 | -1/+7 |
| | |||||
* | Properly restore AVX registers on x86-64. | H.J. Lu | 2009-07-29 | 2 | -10/+14 |
| | | | | | tst-audit4 and tst-audit5 fail under AVX emulator due to je instead of jne. This patch fixes them. | ||||
* | Preserve SSE registers in runtime relocations on x86-64. | Ulrich Drepper | 2009-07-29 | 10 | -21/+188 |
| | | | | | | | | | | SSE registers are used for passing parameters and must be preserved in runtime relocations. This is inside ld.so enforced through the tests in tst-xmmymm.sh. But the malloc routines used after startup come from libc.so and can be arbitrarily complex. It's overkill to save the SSE registers all the time because of that. These calls are rare. Instead we save them on demand. The new infrastructure put in place in this patch makes this possible and efficient. | ||||
* | Fix bookkeeping of static TLS block for TLS_TCB_AT_TP architectures. | Ulrich Drepper | 2009-07-28 | 3 | -5/+18 |
| | |||||
* | Fix bookkeeping in mutex when using requeue_pi. | Ulrich Drepper | 2009-07-28 | 9 | -24/+83 |
| | |||||
* | pthread_mutex_unlock needs to use _rel semantics for atomic ops. | Ulrich Drepper | 2009-07-27 | 2 | -3/+9 |
| | |||||
* | Revert "Memory ordering in pthread_mutex_{,timed}lock." | Ulrich Drepper | 2009-07-27 | 3 | -19/+12 |
| | | | | This reverts commit 7b7f43bed134db6a0da34282fffcbf0af10d4613. | ||||
* | Refine testing for xmm/ymm register use in x86-64 ld.so. | Ulrich Drepper | 2009-07-27 | 6 | -12/+86 |
| | | | | | | | | | The test now takes the callgraph into account. Only code called during runtime relocation is affected by the limitation. We now determine the affected object files as closely as possible from the outside. This allowed to remove some the specializations for some of the string functions as they are only used in other code paths. | ||||
* | Break out _dl_scope_free into its own file. | Ulrich Drepper | 2009-07-27 | 3 | -36/+59 |
| | | | | | This reduces the coarse static callgraph that can be discovered by looking at the object files. | ||||
* | Define and implement RES_USE_DNSSEC option in resolver. | Adam Tkac | 2009-07-27 | 5 | -5/+26 |
| | |||||
* | Fix STB_GNU_UNIQUE handling for > 30 unique symbols. | Jakub Jelinek | 2009-07-27 | 2 | -2/+9 |
| | | | | | | | | | | | | | There were several issues when the initial 31 entries hashtab filled up. size * 3 <= tab->n_elements is always false, table can't have more elements than its size. I assume from libiberty/hashtab.c this meant to be check for 3/4 full. Even after fixing that, _dl_higher_prime_number (31) apparently returns 31, only _dl_higher_prime_number (32) returns 61. And, size variable wasn't updated during reallocation, which means during reallocation the insertion of the new entry was done into a wrong spot. All this lead to a hang in ld.so, because a search with n_elements 31 size 31 wouldn't ever terminate. | ||||
* | No need for special strcmp for rtld. | Ulrich Drepper | 2009-07-27 | 2 | -29/+0 |
| | |||||
* | Make sure no code in ld.so uses xmm/ymm registers on x86-64. | Ulrich Drepper | 2009-07-26 | 11 | -0/+498 |
| | | | | | | | | | | This patch introduces a test to make sure no function modifies the xmm/ymm registers. With the exception of the auditing functions. The test is probably too pessimistic. All code linked into ld.so is checked. Perhaps at some point the callgraph starting from _dl_fixup and _dl_profile_fixup is checked and we can start using faster SSE-using functions in parts of ld.so. | ||||
* | Add missing ChangeLog entry for last checkin. | Ulrich Drepper | 2009-07-26 | 1 | -0/+20 |
| | |||||
* | Add SSE2 support to str{,n}cmp for x86-64. | H.J. Lu | 2009-07-26 | 5 | -267/+2055 |
| | |||||
* | Memory ordering in pthread_mutex_{,timed}lock. | Ulrich Drepper | 2009-07-26 | 3 | -12/+19 |
| | | | | | All commits should have happened before the mutex lock is taken. Therefore use the _rel variant of the cmpxchg atomic op. | ||||
* | Compatibility of signalfd/eventfd with older kernels. | Ulrich Drepper | 2009-07-26 | 4 | -6/+34 |
| | |||||
* | Handle SERVFAIL, NOTIMP, REFUSED replies from DNS server better. | Ulrich Drepper | 2009-07-26 | 2 | -5/+5 |
| | | | | | When doing IPv4+6 lookups we have to pass up the error record from send_dg. | ||||
* | Define NT_GNU_GOLD_VERSION. | Ulrich Drepper | 2009-07-26 | 2 | -0/+7 |
| | |||||
* | Some some optimizations for x86-64 strcmp. | H.J. Lu | 2009-07-25 | 2 | -9/+7 |
| | |||||
* | Handle missing NSS modules and those without callbacks. | Ulrich Drepper | 2009-07-25 | 2 | -0/+6 |
| | | | | | getaddrinfo didn't update the status variable in that round of the loop if no callback was used. | ||||
* | Optimize x86-64 SSE4.2 strcmp. | Ulrich Drepper | 2009-07-25 | 2 | -0/+10 |
| | | | | | The file contained some code which was never used. Don't compile it in. | ||||
* | Don't automatically use /lib/modules/* headers. | Ulrich Drepper | 2009-07-24 | 3 | -24/+6 |
| | | | | | Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups. | ||||
* | More white space fixes. | Ulrich Drepper | 2009-07-24 | 1 | -4/+4 |
| | |||||
* | White space fixes in last checkin. | Ulrich Drepper | 2009-07-24 | 2 | -7/+7 |
| | |||||
* | S/390: Hardware iconv modules. | Andreas Krebbel | 2009-07-24 | 8 | -8/+1628 |
| | |||||
* | Check for .cfi_{personality,lsda} on x86-64. | Ulrich Drepper | 2009-07-23 | 3 | -0/+61 |
| | | | | We need this support in NPTL now to avoid the hand-coded tables. |