about summary refs log tree commit diff
path: root/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Remove unused sysdeps/unix/siglist.c.Joseph Myers2012-04-201-61/+0
|
* Remove unused sysdeps/unix/getppid.S.Joseph Myers2012-04-201-29/+0
|
* Remove unused sysdeps/unix/{mkdir.c,rmdir.c}.Joseph Myers2012-04-202-174/+0
|
* Fix computation of inflated errlist sizeAndreas Schwab2012-04-192-3/+3
|
* Remove all traces of reg_char.David S. Miller2012-04-181-3/+0
| | | | | | | | | | | | | | | | | | | * sysdeps/generic/memcopy.h (reg_char): Delete. * debug/strcat_chk.c: Use char, not reg_char. * debug/strcpy_chk.c: Likewise. * debug/strncat_chk.c: Likewise. * debug/strncpy_chk.c: Likewise. * string/memchr.c: Likewise. * string/memrchr.c: Likewise. * string/rawmemchr.c: Likewise. * string/strcat.c: Likewise. * string/strchr.c: Likewise. * string/strchrnul.c: Likewise. * string/strcmp.c: Likewise. * string/strcpy.c: Likewise. * string/strncat.c: Likewise. * string/strncmp.c: Likewise. * string/strncpy.c: Likewise.
* Have memmove call __builtin_memcopy on PowerPC if src and dest don't overlap.Will Schmidt2012-04-181-0/+119
|
* Further simplify power6 wordcopy by removing switch statements.Will Schmidt2012-04-182-72/+4
| | | | | | This fix replaces switch statements that contain individual [fwd|bwd]_align_merge (<constant>) calls with a single [fwd|bwd]_align_merge (align) call.
* Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.Will Schmidt2012-04-182-272/+79
|
* Forgot to delete the sparc64 memcopy.h which tries to include the sparc32 oneDavid S. Miller2012-04-181-1/+0
| | | | * sysdeps/sparc/sparc64/memcopy.h: Delete.
* Finish ilogb changesAndreas Jaeger2012-04-185-13/+6
| | | | | | | | | | | | | | | | | | [BZ# 6794] * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias. * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ... * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here. * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ... * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here. Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
* There is no legitimate reason to override reg_char on sparc32.David S. Miller2012-04-171-20/+0
| | | | * sysdeps/sparc/sparc32/memcopy.h: Delete.
* Remove useless __ilogb*_finite aliasesAndreas Schwab2012-04-186-6/+0
|
* Fix ilogb exception and errno (bug 6794)Adhemerval Zanella2012-04-1710-23/+46
| | | | | | | | | | | | | | | | | | | | [BZ #6794] Following Joseph comments about bug 6794, here is a proposed fix. It turned out to be a large fix mainly because I had to move some file along to follow libm files/names conventions. Basically I have added wrappers (w_ilogb.c, w_ilogbf.c, w_ilogbl.c) that now calls the symbol '__ieee754_ilogb'. The wrappers checks for '__ieee754_ilogb' output and set the errno and raise exceptions as expected. The '__ieee754_ilogb' is implemented in sysdeps. I have moved the 's_ilogb[f|l]' files to e_ilogb[f|l] and renamed the '__ilogb[f|l]' to '__ieee754_ilogb[f|l]'. I also found out a bug in i386 and x86-64 assembly coded ilogb implementation where it raises a FE_DIVBYZERO when argument is '0.0'. I corrected this issue as well. Finally I added the errno and FE_INVALID tests for 0.0, NaN and +-InF argument. Tested on i386, x86-64, ppc32 and ppc64.
* Reverse arguments of fdivp in i386 code.Marek Polacek2012-04-161-2/+2
|
* Check __ILP32__ instead of __LP64__H.J. Lu2012-04-133-3/+3
| | | | | | | | | | | | | * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__. * elf/tst-auditmod3b.c: Likewise. * elf/tst-auditmod4b.c: Likewise. * elf/tst-auditmod5b.c: Likewise. * elf/tst-auditmod6b.c: Likewise. * elf/tst-auditmod6c.c: Likewise. * elf/tst-auditmod7b.c: Likewise. * sysdeps/x86_64/ffsll.c (ffsl): Likewise. * sysdeps/x86_64/preconfigure.in: Likewise. * sysdeps/x86_64/preconfigure: Regenerated.
* Add __ILP32__ check when defining __WORDSIZEH.J. Lu2012-04-131-1/+1
|
* Fix variable check in sparc clock frequency probing.Antoine Balestrat2012-04-131-1/+1
| | | | | * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
* Update sparc libm ULPs.David S. Miller2012-04-111-10/+124
| | | | * sysdeps/sparc/fpu/libm-test-ulps: Update.
* Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu2012-04-114-0/+4
|
* Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>H.J. Lu2012-04-101-32/+53
|
* New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar2012-04-111-1/+4
| | | | | | | | | | | It may sometimes be desirable to make the dynamic linker only pick up libraries from the library path and rpath and not look at the ld.so.cache that ldconfig generates. An example of such a use case is the glibc testsuite where the dynamic linker must not be influenced by any external paths or caches. This change adds a new option --inhibit-ldcache that when used, tells the dynamic linker to not use ld.so.cache even if it is available.
* Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers2012-04-092-24/+38
|
* Fix ctan, ctanh overflow (bug 11521).Joseph Myers2012-04-092-20/+128
|
* Fix missing clobber in i386 __sincos_code asm.Roland McGrath2012-04-091-7/+7
|
* Fix missing overflow exceptions from pow (bug 13873).Joseph Myers2012-04-091-2/+3
|
* Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers2012-04-092-4/+64
|
* Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno2012-04-081-2/+2
|
* memset: also update copyright yearsMike Frysinger2012-04-082-2/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* memset: fix define usage for shared libsMike Frysinger2012-04-072-2/+2
| | | | | | | The proper define to check "am I in a shared lib" is "SHARED", not "PIC". The two new memset_chk functions incorrectly depend on "PIC". Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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
|