about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Properly restore AVX registers on x86-64.H.J. Lu2009-07-291-10/+10
| | | | | 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 Drepper2009-07-292-3/+86
| | | | | | | | | | 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.
* Refine testing for xmm/ymm register use in x86-64 ld.so.Ulrich Drepper2009-07-275-12/+72
| | | | | | | | | 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.
* No need for special strcmp for rtld.Ulrich Drepper2009-07-271-28/+0
|
* Make sure no code in ld.so uses xmm/ymm registers on x86-64.Ulrich Drepper2009-07-2610-0/+484
| | | | | | | | | | 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 SSE2 support to str{,n}cmp for x86-64.H.J. Lu2009-07-265-267/+2055
|
* Compatibility of signalfd/eventfd with older kernels.Ulrich Drepper2009-07-263-6/+26
|
* Some some optimizations for x86-64 strcmp.H.J. Lu2009-07-251-9/+4
|
* Handle missing NSS modules and those without callbacks.Ulrich Drepper2009-07-251-0/+2
| | | | | 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 Drepper2009-07-251-0/+5
| | | | | The file contained some code which was never used. Don't compile it in.
* Don't automatically use /lib/modules/* headers.Ulrich Drepper2009-07-242-24/+0
| | | | | 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 Drepper2009-07-241-4/+4
|
* White space fixes in last checkin.Ulrich Drepper2009-07-242-7/+7
|
* S/390: Hardware iconv modules.Andreas Krebbel2009-07-247-8/+1612
|
* Avoid cpuid instructions in cache info discovery.Ulrich Drepper2009-07-231-19/+31
| | | | When multiarch is enabled we have this information stored. Use it.
* Add more cache descriptors for L3 caches on x86 and x86-64.Ulrich Drepper2009-07-232-0/+6
| | | | | The most recent AP 485 describes a few more cache descriptors for L3 caches with 24-way associativity.
* Perform test for Arom x86-64 in central place and handle it.Ulrich Drepper2009-07-232-11/+10
| | | | | | | 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.
* Preserve stack alignment in i386 makecontext.Ulrich Drepper2009-07-231-6/+4
|
* Handle unloading of DSO with a unique symbol definition.Ulrich Drepper2009-07-231-1/+1
|
* Minor cleanups in x86-64 strstr.Ulrich Drepper2009-07-211-78/+55
|
* Better check for optimization in new x86-64 strstr/strcasestr.Ulrich Drepper2009-07-201-11/+15
|
* SSE4.2 strstr/strcasestr for x86-64.H.J. Lu2009-07-205-1/+519
| | | | | This patch implements SSE4.2 strstr/strcasestr, using Knuth-Morris-Pratt string searching algorithm.
* Replace hand-coded unwind tables from x86-64 pthread_once.Ulrich Drepper2009-07-171-7/+36
|
* Remove warning and little optimization.Ulrich Drepper2009-07-161-0/+4
| | | | | The prototype for _dl_higher_prime_number was missing. While at it, the function is now marked with internal_function.
* Optimize restoring of ymm registers on x86-64.Ulrich Drepper2009-07-161-43/+34
| | | | The patch mainly reduces the code size but also avoids some jumps.
* Fix up whitespaces in new memcmp for x86-64.Ulrich Drepper2009-07-161-42/+42
|
* memcmp implementation for x86-64 using SSE2.H.J. Lu2009-07-161-0/+359
|
* Fix thinko in AVX audit patch.Ulrich Drepper2009-07-151-20/+4
| | | | Don't use AVX instructions too often.
* Fix typo in last change.Ulrich Drepper2009-07-151-1/+1
|
* Secure AVX changes for auditing code.Ulrich Drepper2009-07-152-323/+295
| | | | | | | | 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.
* Add AVX support to ld.so auditing for x86-64.H.J. Lu2009-07-107-124/+423
|
* Fix comment in Linux's <sys/epoll.h>.Ulrich Drepper2009-07-101-2/+2
|
* Implement STB_GNU_UNIQUE handling.Ulrich Drepper2009-07-091-0/+15
| | | | | | | | | 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.
* Fix wrong PPC_FEATURE_* values.Andreas Schwab2009-07-051-2/+2
| | | | | Nothing uses these wrong values yet, but it fixes a warning due to conflicting definitions in <asm/cputable.h>.
* Minor cleanups in recently added files.Ulrich Drepper2009-07-032-79/+57
|
* Align functions to 16-byte boundary.Ulrich Drepper2009-07-034-0/+4
| | | | | | 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.
* Add SSE4.2 support for strcspn, strpbrk, and strspn on x86-64.H.J. Lu2009-07-039-7/+851
|
* Fix handling of xmm6 in ld.so audit hooks on x86-64.H.J. Lu2009-07-021-2/+4
|
* Whitespace fixes in last patch.Ulrich Drepper2009-07-021-31/+31
|
* SSSE3 strcpy/stpcpy for x86-64H.J. Lu2009-07-027-1/+1950
| | | | | | 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.
* Regenerated.Ulrich Drepper2009-06-301-6/+38
|
* Fix little checkin problem in last patch.Ulrich Drepper2009-06-301-2/+2
|
* Determine and store processor family and model on x86-64.H.J. Lu2009-06-303-8/+33
|
* Fix text relocation on ppc32.Andreas Schwab2009-06-251-2/+21
| | | | | The ____longjmp_chk implementation didn't load from memory the right way.
* Fix cfa offset for saved registers in PPC sqrt implementations.Andreas Schwab2009-06-244-8/+8
|
* Clean up whitespaces in last patch.Ulrich Drepper2009-06-221-1/+1
|
* Add SSE4.2 support for strcmp and strncmp on x86-64.H.J. Lu2009-06-225-0/+1695
|
* Add 802.15.4 definitions to header files.Ulrich Drepper2009-06-183-5/+21
|
* Don't treat bug reporting message as a format string.Andreas Schwab2009-06-161-2/+2
|
* Extend pt_chown to drop privileges.Ulrich Drepper2009-06-162-3/+7
| | | | | | 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.