summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2012-04-10Fix ld.so regression.David S. Miller3-7/+15
[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. Lu2-32/+59
2012-04-11New ld.so argument --inhibit-ldcache to disable ld.so.cache lookupSiddhesh Poyarekar6-5/+31
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 McGrath2-3/+27
2012-04-09Fix spurious overflow exceptions from x86/x86_64 powl (bug 13872).Joseph Myers5-33/+53
2012-04-09Fix ctan, ctanh overflow (bug 11521).Joseph Myers11-97/+403
2012-04-09Merge branch 'master' of git://sourceware.org/git/glibcAndreas Jaeger2-7/+12
Conflicts: ChangeLog
2012-04-09Fix missing clobber in i386 __sincos_code asm.Roland McGrath2-7/+12
2012-04-09Enhance d_namlen descriptionAndreas Jaeger3-12/+18
[BZ #6894] * manual/filesys.texi (Directory Entries): Mention that d_namlen is an optional BSD extension.
2012-04-09Document additional fopen optionsAndreas Jaeger3-15/+39
[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'Donell3-2/+7
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 Myers4-15/+19
2012-04-09Fix x86 pow inaccuracy for large integer exponents (bug 706).Joseph Myers5-16/+112
2012-04-08Do not allow overflow exception on exp underflow test (bug 13705).Joseph Myers2-2/+7
2012-04-08Use __kernel_standard instead of __kernel_standard_f in exp wrapper (bug 13705).Aurelien Jarno3-7/+13
2012-04-08memset: also update copyright yearsMike Frysinger3-2/+7
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2012-04-08Document return values of putenv and setenvAndreas Jaeger3-9/+20
[BZ #10153] * manual/startup.texi (Environment Access): Describe return value for putenv and setenv.
2012-04-08Add generated file version.texiAndreas Jaeger1-0/+1
2012-04-08Describe DT_LNKAndreas Jaeger3-9/+16
[BZ #6895] * manual/filesys.texi (Directory Entries): Add description for DT_LNK.
2012-04-08Fix DT_UNKNOWN descriptionAndreas Jaeger3-9/+15
[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 Jaeger3-10/+15
[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 Jaeger7-10/+40
Conflicts: ChangeLog
2012-04-08Better describe open argumentsStephen Compall3-13/+19
[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 Frysinger3-2/+7
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. Miller4-0/+27
* 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.
2012-04-07Simplify _ELF_DYNAMIC_DO_RELOC after combining the old two defs.Carlos O'Donell2-8/+6
* elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify conditions and remove no longer applicable assertion.
2012-04-06Use __builtin_bswap32/64 in __bswap_32/64 for GCC >= 4.2H.J. Lu2-3/+27
2012-04-06Add byteswap-16.h for __bswap_16H.J. Lu10-100/+219
2012-04-06BZ#13895 fixed.Paul Pluzhnikov1-2/+2
2012-04-062012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>Paul Pluzhnikov4-9/+34
[BZ #13895] * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid extra indirection. * nss/Makefile (tests-static, tests): Add tst-nss-static. * nss/tst-nss-static.c: New.
2012-04-06Fix ascending ordering of bug numbers in NEWS.Joseph Myers1-1/+1
2012-04-06Fix typo in manualRobert Millan3-5/+11
lseek refers to WHENCE when it really means OFFSET
2012-04-06Add missing include fileAndreas Jaeger2-1/+5
Compiling on Linux/i586 I get these warnings: nss_db/db-initgroups.c:60:3: warning: implicit declaration of function 'strlen' [-Wimplicit-function-declaration] nss_db/db-initgroups.c:74:7: warning: implicit declaration of function 'strncmp' [-Wimplicit-function-declaration] Fixed with inclusion of <string.h>
2012-04-06Add __poll and __ppoll to libc.abilistAndreas Jaeger2-0/+6
The functions were introduced in January but abilist was not updated.
2012-04-05Fix check-local-headers.sh on multiarch systems.David S. Miller2-1/+4
* scripts/check-local-headers.sh: Accept a host triplet in the path matched by the exclude regexp.
2012-04-05Reduce down to one definition of _ELF_DYNAMIC_DO_RELOC.David S. Miller6-60/+18
* 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.
2012-04-05Fix CL typos.Marek Polacek1-2/+2
2012-04-05[BZ #6770] Add first_weekday and first_workday to ca_ES.Petr Baudis3-9/+16
Patch from Fedora by Jeff Law. Acknowledged by Jordi Mallach.
2012-04-05Locale ca_ES is now maintained by Jordi MallachPetr Baudis2-2/+7
[BZ #6770] It was impossible to contact the original maintainer by phone or email, despite Jordi's multiple tries, either directly or via 3rd parties.
2012-04-05Fix DL_DEBUG_UNUSED to elide the VDSO and handle PLT references properly.David S. Miller3-2/+26
* elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off lazy binding. * elf/dl-lookup (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore undefined symbol errors. * elf/rtlc.c (dl_main): Skip VDSO when checking for unused DT_NEEDED entries.
2012-04-05Fix size parameter comparisions.Michael Matz3-11/+16
[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.
2012-04-05Don't warn about unused result of mktempAndreas Jaeger3-4/+11
[BZ #13908] mktemp always returns TEMPLATE, the caller should check TEMPLATE[0] instead of TEMPLATE, so do not warn about the unused result. Fix also the comment for mktemp
2012-04-05[BZ #12340] Fix return code of the Hurd's ttyname_r.Thomas Schwinge1-7/+7
2012-04-05Fix return value of SH fesetround.Kaz Kojima2-3/+8
2012-04-05Set SH fpcsr register which read again.Kaz Kojima3-1/+14
2012-04-05Fix SH4 fraiseexcpt so to generate exceptions appropriately.Kaz Kojima2-6/+48
2012-04-05Add support fedisableexcept, feenableexcept, fegetexcept and feupdateenvKaz Kojima4-0/+151
for SH.
2012-04-05[BZ #12340] Fix return code of the Hurd's ttyname_r.Simon Josefsson2-2/+8
2012-04-05[BZ #13553] Remove pre-ISO C supportThomas Schwinge3-5/+11
The bits missing from a784e502472fb3a1afa4d01a47c66b52d23e00f6.
2012-04-042012-04-04 Dmitry V. Levin <ldv@altlinux.org>Jeff Law3-8/+15
[BZ #10346] * locales/ru_UA (LC_TIME): Add first_weekday and first_workday.