Age | Commit message (Collapse) | Author | |
---|---|---|---|
2013-12-23 | Define __CORRECT_ISO_CPP_STRING_H_PROTO correctly for Clang. | Brooks Moses | |
In the string/string.h and string/strings.h headers, we have a couple of macros that "tell the caller that we provide correct C++ prototypes" according to the comment; they are used to determine whether to wrap some prototypes in "extern "C++"" (and provide multiple overloads of them, and some other magic) when __cplusplus is defined. The macros are set to check for sufficiently-recent GCC versions (4.4 and later), but this is not the right check for non-GCC compilers. In particular, these macros should also be set when using Clang -- if they are not set, then Clang will be unable to correctly diagnose a number of subtle bugs that will be errors in GCC compilations. As per discussion on earlier versions of this patch, rather than restrict the fix to Clang per se, we assume that all C++ compilers that claim to fully support C++98 are using a standard-conforming C++ standard library, which seems pretty reasonable. Clang has been providing an appropriate value of __cplusplus since May 2012. | |||
2013-12-13 | PowerPC: multiarch wordcopy for PowerPC64 | Adhemerval Zanella | |
2013-12-13 | PowerPC: multirach memcmp for PowerPC64 | Adhemerval Zanella | |
2013-12-06 | PowerPC: multiarch strchrnul for PowerPC32 | Adhemerval Zanella | |
2013-12-06 | PowerPC: multiarch rawmemchr for PowerPC32 | Adhemerval Zanella | |
2013-12-06 | PowerPC: multiarch memchr for PowerPC32 | Adhemerval Zanella | |
2013-12-06 | PowerPC: multiarch mempcpy for PowerPC32 | Adhemerval Zanella | |
2013-11-26 | Remove duplicate ifunc tests. | Ondřej Bílka | |
2013-11-10 | Fix build on hurd | Samuel Thibault | |
* string/strcoll_l.c: Include <sys/param.h> for MIN/MAX macros. | |||
2013-10-04 | string/tester memrchr test | Alan Modra | |
http://sourceware.org/ml/libc-alpha/2013-08/msg00095.html I found this useful at one stage when I was seeing a huge number of memrchr failures all of test number 10. * string/tester.c (test_memrchr): Increment reported test cycle. | |||
2013-10-04 | string/test-memcpy error reporting | Alan Modra | |
http://sourceware.org/ml/libc-alpha/2013-08/msg00094.html Using plain %s here runs the risk of segfaulting when displaying the string. src and dst aren't zero terminated strings. * string/test-memcpy.c (do_one_test): When reporting errors, print string address and don't overrun end of string. | |||
2013-09-23 | Check for integer overflow in cache size computation in strcoll | Siddhesh Poyarekar | |
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-23 | Fall back to non-cached sequence traversal and comparison on malloc fail | Siddhesh Poyarekar | |
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-20 | Make __ffs hidden | Andreas Schwab | |
2013-09-05 | Add memrchr testcase | Adhemerval Zanella | |
2013-08-27 | Fix missing declaration of LC_CTYPE nonascii-case element | Andreas Schwab | |
2013-08-20 | Simplify strcoll implementation | Siddhesh Poyarekar | |
Break up strcoll into simpler functions so that the logic is easier to follow and maintain. | |||
2013-06-26 | Add a test for BZ #15674 | H.J. Lu | |
2013-06-20 | Fix loop construction to functions calls | Adhemerval Zanella | |
Check wheter the compiler has the option -fno-tree-loop-distribute-patterns to inhibit loop transformation to library calls and uses it on memset and memmove default implementation to avoid recursive calls. | |||
2013-06-11 | Remove performance-related bits from string tests | Siddhesh Poyarekar | |
2013-06-07 | Avoid use of "register" as optimization hint. | Joseph Myers | |
2013-06-04 | Add copyright header to test-strchrnul.c | Siddhesh Poyarekar | |
2013-05-16 | Add #include <stdint.h> for uint[32|64]_t usage (except installed headers). | Ryan S. Arnold | |
2013-05-01 | Remove duplicate __strcmp_cg | Ondrej Bilka | |
The __strcmp_cg code was duplicate of of __strcmp_gc. This patch unifies these two cases into one. | |||
2013-02-17 | Sort Versions files | Andreas Jaeger | |
2013-02-15 | Remove bounded-pointers build system support. | Joseph Myers | |
2013-02-15 | Remove miscellaneous bounded-pointers relics in C code. | Joseph Myers | |
2013-02-14 | Remove bp-sym.h and BP_SYM uses from C code. | Joseph Myers | |
2013-02-13 | Remove __ptrvalue, __bounded and __unbounded. | Joseph Myers | |
2013-02-13 | Call memcpy in generic mempcpy | Ondrej Bilka | |
2013-02-12 | Fix typo, improve comment, remove superfluous #undefs, add missing #undef. | Tom de Vries | |
2013-02-11 | Remove dead CFLAGS lines from string/Makefile | Tom de Vries | |
2013-02-08 | Remove dead variable in generic strcpy. | Roland McGrath | |
2013-02-08 | Remove CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH for C code. | Joseph Myers | |
2013-02-07 | Remove lots of inline keywords. | Roland McGrath | |
2013-01-11 | Remove __GLIBC_HAVE_LONG_LONG. | Joseph Myers | |
2013-01-11 | Add --enable-hardcoded-path-in-tests configure option | H.J. Lu | |
2013-01-10 | Remove __GNUC__ conditions for "long long" from string.h and wchar.h. | Joseph Myers | |
2013-01-02 | Update copyright notices with scripts/update-copyrights. | Joseph Myers | |
2012-12-27 | BZ#14317: Optimze __xpg_strerror_r | 2012-12-27 Bruno Haible | |
[BZ #14317] * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen only if needed. | |||
2012-11-06 | Use memcpy in memmove when possible | Maxim Kuvyrkov | |
2012-10-24 | Define and use $(run-built-tests). | Joseph Myers | |
2012-10-19 | Add string IFUNC tests | H.J. Lu | |
2012-10-19 | Add a testcase for BZ #14716 | H.J. Lu | |
2012-10-15 | Fix BZ #14716: memmem crash | Maxim Kuvyrkov | |
2012-10-12 | Avoid PLT references from __get_clockfreq on powerpc | Andreas Schwab | |
2012-10-11 | Framework to test IFUNC implementations on target | H.J. Lu | |
2012-10-11 | Use IFUNC memmove/memset in x86-64 bcopy/bzero | H.J. Lu | |
Also add separate tests for bcopy and bzero. | |||
2012-10-08 | Fix BZ #14602: strstr and strcasestr return wrong result. | Maxim Kuvyrkov | |
2012-10-06 | Add a strstr test for page boundary | H.J. Lu | |