aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-18Remove all traces of reg_char.David S. Miller
* 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.
2012-04-18Have memmove call __builtin_memcopy on PowerPC if src and dest don't overlap.Will Schmidt
2012-04-18Further simplify power6 wordcopy by removing switch statements.Will Schmidt
This fix replaces switch statements that contain individual [fwd|bwd]_align_merge (<constant>) calls with a single [fwd|bwd]_align_merge (align) call.
2012-04-18Simplify power6 wordcopy by adding [fwd|bwd]_align_merge macros.Will Schmidt
2012-04-18Forgot to delete the sparc64 memcopy.h which tries to include the sparc32 oneDavid S. Miller
* sysdeps/sparc/sparc64/memcopy.h: Delete.
2012-04-18Finish ilogb changesAndreas Jaeger
[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.
2012-04-17There is no legitimate reason to override reg_char on sparc32.David S. Miller
* sysdeps/sparc/sparc32/memcopy.h: Delete.
2012-04-18Remove useless __ilogb*_finite aliasesAndreas Schwab
2012-04-17Fix ilogb exception and errno (bug 6794)Adhemerval Zanella
[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.
2012-04-17Resolve __vector namespace conflict with Altivec.Petr Baudis
2012-04-16Prevent warning in pldd.Marek Polacek
2012-04-16Reverse arguments of fdivp in i386 code.Marek Polacek
2012-04-13Check __ILP32__ instead of __LP64__H.J. Lu
* 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.
2012-04-13Add __ILP32__ check when defining __WORDSIZEH.J. Lu
2012-04-13Fix variable check in sparc clock frequency probing.Antoine Balestrat
* sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
2012-04-13"Gallegan" should be "Galician"Chris Leonard
[BZ #13973] * locale/iso-639.def: Fix gl language name. Spotted by Yaron Shahrabani.
2012-04-13cy_GB/en_GB: set am/pm in timesMike Frysinger
The British people apparently use am/pm in time, so make it available to them. While we're here, sync the date_fmt field from en_GB to cy_GB. Fedora has been carrying this for the better part of a decade, and Debian has had it, and now that I've gotten a request from some British people to add it to Gentoo, I'd rather get it merged into mainline. Signed-off-by: Mike Frysinger <vapier@gentoo.org> 2012-04-12 Mike Frysinger <vapier@gentoo.org> [BZ #3768] * locales/en_GB: Set am_pm and t_fmt_ampm fields. * locales/cy_GB: Likewise. Also copy date_fmt from en_GB.
2012-04-12Update for BZ # 2541Andreas Jaeger
2012-04-12Update comment for _io_write_fnRoland McGrath
[BZ #2074] * libio/libio.h (__io_write_fn): Update comment.
2012-04-12Fix description of user provided write functionPetr Baudis
[BZ #2074] * stdio.texi (Hook Functions): The user provided writer function is not allowed to return -1.
2012-04-11Update sparc libm ULPs.David S. Miller
* sysdeps/sparc/fpu/libm-test-ulps: Update.
2012-04-11ignore ports/linuxthreads addon dirsMike Frysinger
Dropping external addon trees into the main git checkout is normal to test them, so add them to the ignore list. Not like we want to ever check them in. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-11Remove __wur from fwrite, fwrite_unlockedJim Meyering
[BZ #11959] * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur. It is not necessarily an error to ignore fwrite's return value. One can reliably use ferror to test for errors after the fact.
2012-04-11Add __snseconds_t and __SNSECONDS_T_TYPEH.J. Lu
2012-04-11Fix times return value, CLK_TCK descriptionAndreas Jaeger
[BZ #2636] * manual/time.texi (Processor Time): Return type of times is elapsed real time since an arbitrary point in the past. (CPU Time): Move CLK_TCK from here... (Processor Time): ...to here. Correct description. * manual/conf.texi (Constants for Sysconf): Correct description of _SC_CLK_TCK.
2012-04-10Fix ld.so regression.David S. Miller
[BZ #13967] * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case where the is a gap between DT_REL(A) and DT_JMPREL.
2012-04-10Use __builtin_bswap32/64 in x86_64 <bits/byteswap.h>H.J. Lu
2012-04-11New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar
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.
2012-04-10Merge commit '9904dc47c88d9592ec66e599075436'Roland McGrath
2012-04-09Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers
2012-04-09Fix ctan, ctanh overflow (bug 11521).Joseph Myers
2012-04-09Merge branch 'master' of git://sourceware.org/git/glibcAndreas Jaeger
Conflicts: ChangeLog
2012-04-09Fix missing clobber in i386 __sincos_code asm.Roland McGrath
2012-04-09Enhance d_namlen descriptionAndreas Jaeger
[BZ #6894] * manual/filesys.texi (Directory Entries): Mention that d_namlen is an optional BSD extension.
2012-04-09Document additional fopen optionsAndreas Jaeger
[BZ #10254] The manual failed to explain the new (the first were introduced with glibc 2.3 or so) parameters to fopen.
2012-04-09Use sourceware.org for email and web references.Carlos O'Donell
We use sourceware.org consistently to reference the server that RedHat provides for community services to open-source projects. [BZ # 13963] * manual/install.texi: Use sourceware.org.
2012-04-09Fix missing overflow exceptions from pow (bug 13873).Joseph Myers
2012-04-09Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers
2012-04-08Do not allow overflow exception on exp underflow test (bug 13705).Joseph Myers
2012-04-08Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno
2012-04-08memset: also update copyright yearsMike Frysinger
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08Document return values of putenv and setenvAndreas Jaeger
[BZ #10153] * manual/startup.texi (Environment Access): Describe return value for putenv and setenv.
2012-04-08Add generated file version.texiAndreas Jaeger
2012-04-08Describe DT_LNKAndreas Jaeger
[BZ #6895] * manual/filesys.texi (Directory Entries): Add description for DT_LNK.
2012-04-08Fix DT_UNKNOWN descriptionAndreas Jaeger
[BZ #6890] * manual/filesys.texi (Directory Entries): Clarify that it's file system not operating system in the description of DT_UNKNOWN.
2012-04-08Fix closelog descriptionAndreas Jaeger
[BZ #6578] The manual mentioned a non-existing function initlog, replace it with openlog.
2012-04-08Merge branch 'master' of git://sourceware.org/git/glibcAndreas Jaeger
Conflicts: ChangeLog
2012-04-08Better describe open argumentsStephen Compall
[BZ #6649] * manual/llio.texi (Opening and Closing Files): Add cross reference to explain mode argument.
2012-04-07memset: fix define usage for shared libsMike Frysinger
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>
2012-04-07Handle some new sparc relocation types.David S. Miller
* 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.