aboutsummaryrefslogtreecommitdiff
path: root/sysdeps
AgeCommit message (Collapse)Author
2009-07-29Preserve SSE registers in runtime relocations on x86-64.Ulrich Drepper
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.
2009-07-27Refine testing for xmm/ymm register use in x86-64 ld.so.Ulrich Drepper
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.
2009-07-27No need for special strcmp for rtld.Ulrich Drepper
2009-07-26Make sure no code in ld.so uses xmm/ymm registers on x86-64.Ulrich Drepper
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.
2009-07-26Add SSE2 support to str{,n}cmp for x86-64.H.J. Lu
2009-07-26Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper
2009-07-25Some some optimizations for x86-64 strcmp.H.J. Lu
2009-07-25Handle missing NSS modules and those without callbacks.Ulrich Drepper
getaddrinfo didn't update the status variable in that round of the loop if no callback was used.
2009-07-25Optimize x86-64 SSE4.2 strcmp.Ulrich Drepper
The file contained some code which was never used. Don't compile it in.
2009-07-24Don't automatically use /lib/modules/* headers.Ulrich Drepper
Ever since the /usr/include/linux headers got cleaned up this isn't necessary. Meanwhile everybody should have these cleanups.
2009-07-24More white space fixes.Ulrich Drepper
2009-07-24White space fixes in last checkin.Ulrich Drepper
2009-07-24S/390: Hardware iconv modules.Andreas Krebbel
2009-07-23Avoid cpuid instructions in cache info discovery.Ulrich Drepper
When multiarch is enabled we have this information stored. Use it.
2009-07-23Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper
The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
2009-07-23Perform test for Arom x86-64 in central place and handle it.Ulrich Drepper
There will be more than one function which, in multiarch mode, wants to use SSSE3. We should not test in each of them for Atoms with slow SSSE3. Instead, disable the SSSE3 bit in the startup code for such machines.
2009-07-23Preserve stack alignment in i386 makecontext.Ulrich Drepper
2009-07-23Handle unloading of DSO with a unique symbol definition.Ulrich Drepper
2009-07-21Minor cleanups in x86-64 strstr.Ulrich Drepper
2009-07-20Better check for optimization in new x86-64 strstr/strcasestr.Ulrich Drepper
2009-07-20SSE4.2 strstr/strcasestr for x86-64.H.J. Lu
This patch implements SSE4.2 strstr/strcasestr, using Knuth-Morris-Pratt string searching algorithm.
2009-07-17Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper
2009-07-16Remove warning and little optimization.Ulrich Drepper
The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
2009-07-16Optimize restoring of ymm registers on x86-64.Ulrich Drepper
The patch mainly reduces the code size but also avoids some jumps.
2009-07-16Fix up whitespaces in new memcmp for x86-64.Ulrich Drepper
2009-07-16memcmp implementation for x86-64 using SSE2.H.J. Lu
2009-07-15Fix thinko in AVX audit patch.Ulrich Drepper
Don't use AVX instructions too often.
2009-07-15Fix typo in last change.Ulrich Drepper
2009-07-15Secure AVX changes for auditing code.Ulrich Drepper
The original AVX patch used a function pointer to handle the difference between machines with and without AVX support. This is insecure. A well-placed memory exploit could lead to redirection of the execution. Using a variable and several tests is a bit slower but cannot be exploited in this way.
2009-07-10Add AVX support to ld.so auditing for x86-64.H.J. Lu
2009-07-10Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper
2009-07-09Implement STB_GNU_UNIQUE handling.Ulrich Drepper
Some symbols have to be identified process-wide by their name. This is particularly important for some C++ features (e.g., class local static data and static variables in inline functions). This cannot completely be implemented with ELF functionality so far. The STB_GNU_UNIQUE binding helps by ensuring the dynamic linker will always use the same definition for all symbols with the same name and this binding.
2009-07-05Fix wrong PPC_FEATURE_* values.Andreas Schwab
Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
2009-07-03Minor cleanups in recently added files.Ulrich Drepper
2009-07-03Align functions to 16-byte boundary.Ulrich Drepper
Some of the new multi-arch string functions for x86-64 were not aligned to 16 byte boundarie,s possibly creating unnecessary cache line misses and delays.
2009-07-03Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.H.J. Lu
2009-07-02Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu
2009-07-02Whitespace fixes in last patch.Ulrich Drepper
2009-07-02SSSE3 strcpy/stpcpy for x86-64H.J. Lu
This patch adds SSSE3 strcpy/stpcpy. I got up to 4X speed up on Core 2 and Core i7. I disabled it on Atom since SSSE3 version is slower for shorter (<64byte) data.
2009-06-30Regenerated.Ulrich Drepper
2009-06-30Fix little checkin problem in last patch.Ulrich Drepper
2009-06-30Determine and store processor family and model on x86-64.H.J. Lu
2009-06-25Fix text relocation on ppc32.Andreas Schwab
The ____longjmp_chk implementation didn't load from memory the right way.
2009-06-24Fix cfa offset for saved registers in PPC sqrt implementations.Andreas Schwab
2009-06-22Clean up whitespaces in last patch.Ulrich Drepper
2009-06-22Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu
2009-06-18Add 802.15.4 definitions to header files.Ulrich Drepper
2009-06-16Don't treat bug reporting message as a format string.Andreas Schwab
2009-06-16Extend pt_chown to drop privileges.Ulrich Drepper
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.
2009-06-16Fix x86-64 memchr for large lengths.Jakub Jelinek