about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* Handle some new sparc relocation types.David S. Miller2012-04-072-0/+18
| | | | | | | | * elf/elf.h (R_SPARC_WDISP10): Define. * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE32. * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle R_SPARC_SIZE64 and R_SPARC_H34.
* Add byteswap-16.h for __bswap_16H.J. Lu2012-04-066-87/+169
|
* Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller2012-04-054-13/+0
| | | | | | | | | | | | | * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one definition. * sysdeps/powerpc/powerpc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Delete. * sysdeps/s390/s390-32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc32/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise. * sysdeps/sparc/sparc64/dl-machine.h (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
* Fix size parameter comparisions.Michael Matz2012-04-051-6/+6
| | | | | | | | | | | | | [BZ #13592] There are several signed compares of the size argument, whereas it really is unsigned. Depending on situations e.g. a "memset(ptr, 0, -1)" segfault (but for the wrong reasons, because jumping into nirvana) or succeeds even. In normal use this is harmless, as a size with signbit set indicates more than half the address space which on x86_64 is impossible to allocate, but as the size is used to index some jump tables this potentially could have other unwanted side effects.
* Fix return value of SH fesetround.Kaz Kojima2012-04-051-3/+3
|
* Set SH fpcsr register which read again.Kaz Kojima2012-04-052-1/+8
|
* Fix SH4 fraiseexcpt so to generate exceptions appropriately.Kaz Kojima2012-04-051-6/+36
|
* Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenvKaz Kojima2012-04-054-0/+151
| | | | for SH.
* [BZ #12340] Fix return code of the Hurd's ttyname_r.Simon Josefsson2012-04-051-2/+2
|
* [BZ #13553] Remove pre-ISO C supportThomas Schwinge2012-04-052-4/+4
| | | | The bits missing from a784e502472fb3a1afa4d01a47c66b52d23e00f6.
* Add __bswap_64 definition for non GCC compilers.Andreas Jaeger2012-04-033-14/+44
| | | | | | | | | [BZ#13926] Currently __bswap_64 is not defined at all for non-GCC compilers. Define it but guard it with __GLIBC_HAVE_LONG_LONG. endian.h uses __bswap_64, make the functions only available if __GLIBC_HAVE_LONG_LONG is defined.
* Call __ctype_init in early glibc startup.Thomas Schwinge2012-04-024-5/+20
| | | | This adds the bits missing from fd5bdc0924e0cfd1688b632068c1b26f3b0c88da.
* optimize the following memcpy: sysdeps/i386/i686/multiarch/memcpy-ssse3.SLiubov Dmitrieva2012-03-301-536/+1449
| | | | | | | | | | | | | | I've improved the following implementation of memcpy: "sysdeps/i386/i686/multiarch/memcpy-ssse3.S". The patch includes some minor style fixes, but the important part is just using prefetch loops for the case: DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and src and dst pointers have unequal 16 byte alignments. This gives from 6% - 50% performance boost on the atom machine, about 24,73% in geometric mean.
* Comment fixes for mmsghdrUlrich Drepper2012-03-301-2/+3
|
* Optimize mempcpy on sparc.David S. Miller2012-03-288-13/+112
| | | | | | | | | | | | | | * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub that branches into memcpy. * sysdeps/sparc/sparc64/memcpy.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch bits. * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy implementation too. * sysdeps/sparc/mempcpy.S: New file.
* Do not elide the libc hidden def of sparc's memset/memcpy when multiarching.David S. Miller2012-03-282-10/+10
| | | | | | * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to the IFUNC routine in the libc case. * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
* Use generic memset/memcpy in rtld on sparcv9/sparc64.David S. Miller2012-03-288-0/+8
| | | | | | | | | | | * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file. * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file. * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file. * sysdeps/sparc/sparc64/rtld-memset.c: New file. * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
* Fix bugs and improve performance of niagara memset/bzero.David S. Miller2012-03-281-4/+50
| | | | | * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main loop to 256 bytes instead of 64 bytes and fix test signedness.
* Make sparc's -fPIC addition to ASFLAGS-.os more robust.David S. Miller2012-03-283-6/+3
| | | | | | * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here.... * sysdeps/sparc/sparc32/Makefile: rather than here... * sysdeps/sparc/sparc64/Makefile: and here.
* Fix pow of negative numbers to integer exponents (bugs 369, 2678, 3866).Joseph Myers2012-03-285-17/+158
|
* Avoid overflows from long double functions using __kernel_standard.Joseph Myers2012-03-284-4/+37
|
* Fix whitespaceAndreas Jaeger2012-03-282-2/+1
|
* Regenerate configure filesAndreas Jaeger2012-03-285-0/+455
|
* Move sysdeps/s390/s390-64/elf filesAndreas Jaeger2012-03-289-277/+30
| | | | | | | | | | | | | | | * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ... * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here. * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ... * sysdeps/s390/s390-64/bsd-setjmp.S: ... here. * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ... * sysdeps/s390/s390-64/setjmp.S: ... here. * sysdeps/s390/s390-64/elf/configure.in: Moved to ... * sysdeps/s390/s390-64/configure.in: ... here * sysdeps/s390/s390-64/elf/configure: Delete file. * sysdeps/s390/s390-64/elf/start.S: Moved to ... * sysdeps/s390/s390-64/start.S: ... here. * sysdeps/s390/s390-64/elf/configure: Delete.
* Move sysdeps/s390/s390-32/elf filesAndreas Jaeger2012-03-289-310/+29
| | | | | | | | | | | | | | * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here. * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ... * sysdeps/s390/s390-32/bsd-setjmp.S: ... here. * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ... * sysdeps/s390/s390-32/setjmp.S: ... here. * sysdeps/s390/s390-32/elf/configure.in: Moved to ... * sysdeps/s390/s390-32/configure.in: ... here. * sysdeps/s390/s390-32/elf/configure: Delete file. * sysdeps/s390/s390-32/elf/start.S: Moved to ... * sysdeps/s390/s390-32/start.S: ... here.
* Fix sparc64/elf mergeDavid S. Miller2012-03-281-3/+3
| | | | | * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before have-as-vis3 check.
* Move sysdeps/sparc/{,sparc32,sparc64}/elf filesAndreas Jaeger2012-03-289-261/+80
| | | | | | | | | | | | | | * sysdeps/sparc/elf/configure.in: Moved to ... * sysdeps/sparc/configure.in: ... here. * sysdeps/sparc/elf/configure: Delete file. * sysdeps/sparc/sparc32/elf/start.S: Moved to ... * sysdeps/sparc/sparc32/start.S: ... here. * sysdeps/sparc/sparc64/elf/start.S: Moved to ... * sysdeps/sparc/sparc64/start.S: ... here. * sysdeps/sparc/sparc32/elf/Makefile: Merged into ... * sysdeps/sparc/sparc32/Makefile: ... this. * sysdeps/sparc/sparc64/elf/Makefile: Merged into ... * sysdeps/sparc/sparc64/Makefile: ... this.
* Move sysdeps/powerpc/elf filesAndreas Jaeger2012-03-282-0/+0
| | | | | | | * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ... * sysdeps/powerpc/ifunc-sel.h: ... here. * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ... * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
* Move sysdeps/powerpc/powerpc32/elf filesAndreas Jaeger2012-03-285-165/+34
| | | | | | | | | | * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc32/bzero.S: ... here. * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc32/start.S: ... here. * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc32/configure.in: ... this. * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
* Move sysdeps/powerpc/powerpc64/elf filesAndreas Jaeger2012-03-288-214/+63
| | | | | | | | | | | | | | * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ... * sysdeps/powerpc/powerpc64/bzero.S: ... here. * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ... * sysdeps/powerpc/powerpc64/entry.h: ... here. * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ... * sysdeps/powerpc/powerpc64/start.S: here. * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ... * sysdeps/powerpc/powerpc64/Makefile: ... this. * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ... * sysdeps/powerpc/powerpc64/configure.in: ... this. * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
* Delete sysdeps/sh/elfAndreas Jaeger2012-03-283-3/+2
| | | | | | | | * sysdeps/sh/elf/configure.in: Moved to ... * sysdeps/sh/configure.in: ... here. * sysdeps/sh/elf/start.S: Moved to ... * sysdeps/sh/start.S: ... here. * sysdeps/sh/elf/configure: Delete file.
* Fix last commitAndreas Jaeger2012-03-282-30/+24
| | | | | Merge the current i386 version of sysdeps/i386/configure.in Regenerate configure
* Define MAP_STACK and MAP_HUGETLB on powerpc, s390, sh and sparc.Anton Blanchard2012-03-274-7/+12
| | | | | | | | * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and MAP_HUGETLB. * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise. * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
* RegenerateAndreas Jaeger2012-03-271-1/+0
|
* Merge branch 'elf-move'Andreas Jaeger2012-03-2718-862/+572
|\ | | | | | | | | | | | | Conflicts: debug/backtracesymsfd.c sysdeps/generic/elf/backtracesymsfd.c sysdeps/i386/configure.in
| * Merge branch 'master' into elf-moveAndreas Jaeger2012-03-2010-667/+136
| |\
| * | Remove old debug/backtracesyms files, replace with elf versions.Andreas Jaeger2012-03-202-247/+0
| | |
| * | Remove unused start.c files.Andreas Jaeger2012-03-203-283/+0
| | |
| * | Fix last line in configure.in.Andreas Jaeger2012-03-191-1/+1
| | |
| * | Fix last line.Andreas Jaeger2012-03-191-2/+365
| | |
| * | Move sysdeps/generic/elf/* to sysdeps/genericAndreas Jaeger2012-03-193-0/+0
| | |
| * | Merge sysdeps/i386/elf/Versions into sysdeps/i386/Versions.Andreas Jaeger2012-03-196-170/+40
| | | | | | | | | | | | | | | | | | | | | Move sysdeps/i386/elf/start.S to sysdeps/i386/ Merge sysdeps/i386/elf/configure.in into sysdeps/i386/configure.in Delete merged files sysdeps/i386/elf/configure.in, sysdeps/i386/elf/Versions and sysdeps/i386/elf/configure.
| * | Remove now obsolete elf/configure file.Andreas Jaeger2012-03-191-125/+0
| | |
| * | Merge contents from sysdeps/i386/configure.in (without i686 check)Andreas Jaeger2012-03-191-2/+91
| | |
| * | Move x86_64/elf files to x86_64Andreas Jaeger2012-03-192-0/+0
| | |
* | | Update powerpc libm test ULPsAndreas Schwab2012-03-261-2/+24
| | |
* | | Fix undue underflow in ldbl-128ibm version of explAndreas Schwab2012-03-261-2/+2
| | |
* | | Update sparc ULPs for recently added tests and bug fixes.David S. Miller2012-03-231-67/+59
| | | | | | | | | | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* | | Make sure x86_64 GOT entry slot is always 8 bytesH.J. Lu2012-03-231-4/+14
| | |
* | | Fix cexp overflow (bug 13892).Joseph Myers2012-03-222-2/+69
| | |