aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)AuthorFilesLines
2013-10-04IBM long double mechanical changes to support little-endianAlan Modra1-0/+16
http://sourceware.org/ml/libc-alpha/2013-07/msg00001.html This patch starts the process of supporting powerpc64 little-endian long double in glibc. IBM long double is an array of two ieee doubles, so making union ibm_extended_long_double reflect this fact is the correct way to access fields of the doubles. * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ibm_extended_long_double): Define as an array of ieee754_double. (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete. * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS. * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise. * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise. * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
2013-10-03Hardcode locale archive page size as 4096.Joseph Myers1-0/+3
2013-10-03Remove locale file dependence on int32_t alignment.Joseph Myers1-0/+10
2013-10-03BZ #431 Fix manual of strncat/wcsncat.Ondřej Bílka1-0/+5
2013-10-03Fix erroneous (and circular) implied pattern rule for linkobj/libc.so.Brooks Moses1-0/+6
[BZ #15915] As described in the bug, the pattern rule for lib%.so files in Makerules includes linkobj/libc.so as a dependency. However, the explicit rule for linkobj/libc.so is in the top-level Makefile. Thus, the subdirectory makefiles that include Makerules end up with an erroneous makefile pattern rule for linkobj/libc.so that includes itself as a dependency. The result is make warnings whenever rules for other .so files are resolved -- and, on occasion, actual makefile failures when a race condition causes the implicit rule to actually be used. This patch moves the explicit rules for linkobj/libc.so into Makerules to clear up this problem. It also elaborates a couple of comments that I'd initially found confusing.
2013-10-02maint: correct changelogEric Blake1-5/+5
* ChangeLog: List my previous commit in correct location. Signed-off-by: Eric Blake <eblake@redhat.com>
2013-10-02malloc: Add pvalloc test.Will Newton1-0/+5
ChangeLog: 2013-10-02 Will Newton <will.newton@linaro.org> * malloc/Makefile: Add tst-pvalloc. * malloc/tst-pvalloc.c: New file.
2013-10-02malloc/tst-valloc.c: Improve test coverage and use test-skeleton.c.Will Newton1-0/+5
ChangeLog: 2013-10-02 Will Newton <will.newton@linaro.org> * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and improve test coverage.
2013-10-02malloc: Add posix_memalign test.Will Newton1-0/+5
ChangeLog: 2013-10-02 Will Newton <will.newton@linaro.org> * malloc/Makefile: Add tst-posix_memalign. * malloc/tst-posix_memalign.c: New file.
2013-10-01glob: silence -Wattribute warningsEric Blake1-0/+5
Colin Watson reported that some versions of gcc warn about attribute leaf used on a static function, since it has no effect on anything but external functions. * posix/glob.c (next_brace_sub, prefix_array, collated_compare): Use __THROWNL rather than __THROW on static functions. Signed-off-by: Eric Blake <eblake@redhat.com>
2013-09-30Add AArch64 relocation definitions.Petr Machata1-0/+84
2013-09-30Properly cache the result from looking up the nss database configAndreas Schwab1-0/+8
2013-09-28tst-fanotify: fix styleMike Frysinger1-1/+5
Reported-by: Andreas Jaeger <aj@suse.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-28don't use Bash-specific ${parameter/pattern/string} expansionPatrick 'P. J.' McDermott1-0/+6
sysdeps/unix/make-syscalls.sh and sysdeps/unix/Makefile use GNU Bash's ${parameter/pattern/string} parameter expansion. Non-Bash shells (e.g. dash or BusyBox ash when built with CONFIG_ASH_BASH_COMPAT disabled) don't support this expansion syntax. So glibc will fail to build when $(SHELL) expands to a path that isn't provided by Bash. An example build failure: for dir in [...]; do \ test -f $dir/syscalls.list && \ { sysdirs='[...]' \ asm_CPP='gcc -c -I[...] -D_LIBC_REENTRANT -include include/libc-symbols.h -DASSEMBLER -g -Wa,--noexecstack -E -x assembler-with-cpp' \ /bin/sh sysdeps/unix/make-syscalls.sh $dir || exit 1; }; \ test $dir = sysdeps/unix && break; \ done > [build-dir]/sysd-syscallsT sysdeps/unix/make-syscalls.sh: line 273: syntax error: bad substitution This patch simply replaces the three instances of the Bash-only syntax in these files with an echo and sed command substitution. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2013-09-28Revert "Remove references to non-existent content items in install.texi"Allan McRae1-5/+0
This reverts commit 583c76a7ce305d24e0625a22caed317b3e001d91 which breaks building info pages during "make install". Conflicts: ChangeLog
2013-09-27Move ChangeLog entrySiddhesh Poyarekar1-9/+0
2013-09-27Remove references to non-existent content items in install.texiAllan McRae1-0/+5
These were left in when the installation section was split out into its own file.
2013-09-27Use the mutex member of the argumen in __libc_lock_*_recursiveSiddhesh Poyarekar1-0/+9
2013-09-27Add ChangeLog entry for new sysdeps/sh/stackguard-macros.h.Kaz Kojima1-0/+4
2013-09-26Faster strrchr.Ondřej Bílka1-0/+9
2013-09-25PowerPC: Fix POINTER_CHK_GUARD thread register for PPC64Adhemerval Zanella1-0/+5
2013-09-25conformtest: Clean up expectations for POSIX for sched.h.Joseph Myers1-0/+13
2013-09-24Fix tst-long-dbl-fphex swprintf length calculation.Olivier Langlois1-0/+5
2013-09-24conformtest: Clean up expectations for POSIX for pthread.h.Joseph Myers1-0/+14
2013-09-24Add localedef --big-endian and --little-endian options.Joseph Myers1-0/+39
2013-09-24Update to canonical freemanuals.texi file.Roland McGrath1-0/+6
2013-09-24sysdeps/mach/hurd/i386/tls.h: Remove TLS_INIT_TP_EXPENSIVE.Will Newton1-0/+5
This define was removed from the rest of the tree eight years ago. ChangeLog: 2013-09-24 Will Newton <will.newton@linaro.org> * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove macro.
2013-09-23Make locale archive hash function architecture-independent.Joseph Myers1-0/+5
2013-09-23manual: Fix a typo in `POSIX Threads' sectionMaciej W. Rozycki1-0/+4
2013-09-23Check for integer overflow in cache size computation in strcollSiddhesh Poyarekar1-0/+6
strcoll is implemented using a cache for indices and weights of collation sequences in the strings so that subsequent passes do not have to search through collation data again. For very large string inputs, the cache size computation could overflow. In such a case, use the fallback function that does not cache indices and weights of collation sequences. Fixes CVE-2012-4412.
2013-09-23Fall back to non-cached sequence traversal and comparison on malloc failSiddhesh Poyarekar1-0/+10
strcoll currently falls back to alloca if malloc fails, resulting in a possible stack overflow. This patch implements sequence traversal and comparison without caching indices and rules. Fixes CVE-2012-4424.
2013-09-23BZ #15754: Fix test case for ARM.Carlos O'Donell1-0/+5
Statically built binaries use __pointer_chk_guard_local, while dynamically built binaries use __pointer_chk_guard. Provide the right definition depending on the test case we are building.
2013-09-23BZ #15754: CVE-2013-4788Carlos O'Donell1-0/+30
The pointer guard used for pointer mangling was not initialized for static applications resulting in the security feature being disabled. The pointer guard is now correctly initialized to a random value for static applications. Existing static applications need to be recompiled to take advantage of the fix. The test tst-ptrguard1-static and tst-ptrguard1 add regression coverage to ensure the pointer guards are sufficiently random and initialized to a default value.
2013-09-21[BZ #15859] Fix memory leak in _dl_map_object_depsVinitha Vijayan1-0/+5
2013-09-20Make __ffs hiddenAndreas Schwab1-0/+10
2013-09-20Mention malloc probes in the NEWS file.Alexandre Oliva1-0/+2
for ChangeLog * NEWS: Mention malloc probes.
2013-09-20Add malloc probes for sbrk and heap resizing.Alexandre Oliva1-0/+8
for ChangeLog * malloc/arena.c (new_heap): New memory_heap_new probe. (grow_heap): New memory_heap_more probe. (shrink_heap): New memory_heap_less probe. (heap_trim): New memory_heap_free probe. * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe. (systrim): New memory_sbrk_less probe. * manual/probes.texi: Document them.
2013-09-20Add catch-all alloc retry probe.Alexandre Oliva1-0/+3
for ChangeLog * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe. * manual/probes.texi: Document it.
2013-09-20Add probes for malloc retries.Alexandre Oliva1-0/+8
for ChangeLog * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe. (__libc_realloc): Add memory_realloc_retry probe. (__libc_memalign): Add memory_memalign_retry probe. (__libc_valloc): Add memory_valloc_retry probe. (__libc_pvalloc): Add memory_pvalloc_retry probe. (__libc_calloc): Add memory_calloc_retry probe. * manual/probes.texi: Document them.
2013-09-20Add probes for malloc arena changes.Alexandre Oliva1-0/+9
for ChangeLog * malloc/arena.c (get_free_list): Add probe memory_arena_reuse_free_list. (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait and memory_arena_reuse. (arena_get2) [!PER_THREAD]: Likewise. * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe memory_arena_reuse_realloc. * manual/probes.texi: Document them.
2013-09-20Add probes for all changes to malloc options.Alexandre Oliva1-0/+5
for ChangeLog * malloc/malloc.c (__libc_free): Add memory_mallopt_free_dyn_thresholds probe. (__libc_mallopt): Add multiple memory_mallopt probes. * manual/probes.texi: Document them.
2013-09-20Add first set of memory probes.Alexandre Oliva1-0/+9
for ChangeLog * malloc/malloc.c: Include stap-probe.h. (__libc_mallopt): Add memory_mallopt probe. * malloc/arena.c (_int_new_arena): Add memory_arena_new probe. * manual/probes.texi: New. * manual/Makefile (chapters): Add probes. * manual/threads.texi: Set next node.
2013-09-20Copy-edit NEWS and fixup ChangeLog entries.Carlos O'Donell1-1/+2
2013-09-20Update Changelog and NEWSChris Leonard1-0/+6
2013-09-19Consolidate common code into macrosSiddhesh Poyarekar1-0/+13
Consolidated common Taylor series polynomials into macros in s_sin.c to make it a bit cleaner.
2013-09-19Fix buffer overrun in strtod_lLiubov Dmitrieva1-0/+4
2013-09-19Add benchmark inputs for sincosSiddhesh Poyarekar1-0/+3
2013-09-19New test cases for sin and cos for multiple precision fallbackSiddhesh Poyarekar1-0/+3
2013-09-19Consolidate sin/cos table lookup codeSiddhesh Poyarekar1-0/+14
2013-09-19Consolidate sin/cos computation for large inputsSiddhesh Poyarekar1-0/+5