summaryrefslogtreecommitdiffstats
path: root/libc/string
Commit message (Collapse)AuthorAgeFilesLines
...
* Split up MSRC file, bzero left outPeter S. Mazinger2005-11-115-230/+241
|
* Remove #define _STDIO_UTILITY, can't find any use of itPeter S. Mazinger2005-11-082-2/+0
|
* Enable multi, because the arch specific versions are non-multi nowPeter S. Mazinger2005-11-071-6/+4
|
* Disable multi build on asm files. i386/powerpc could be used if the source ↵Peter S. Mazinger2005-11-076-10/+12
| | | | is splitted up
* Correct XLOCALE enabled builds pointed out by nitinkgPeter S. Mazinger2005-11-041-10/+10
|
* Last bits for IMA, now everything can be built w/ DOMULTI=y on gcc-3.4.4 ↵Peter S. Mazinger2005-11-032-2/+4
| | | | with my config (no locale, the rest enabled). Not tested if libc is complete and usable. All the files listed in *_NO_MULTI need love, best would be to replace all multisources w/ single sources.
* Enable IMA on libc/string/genericPeter S. Mazinger2005-11-032-8/+4
|
* Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger2005-11-013-6/+24
|
* Remove last unused references to libc-a-pic-, we use only the lists in ↵Peter S. Mazinger2005-11-011-1/+0
| | | | libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-2910-370/+81
|
* Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does ↵Peter S. Mazinger2005-10-2810-10/+1
| | | | not exist, we reinclude the including Makefile. Moved arch/common fpu_control.h link creation into main Makefile.in. Updated the link creation script to remove all the other Makefiles
* All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger2005-10-2510-0/+366
| | | | archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-1210-102/+96
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* weaks moved after the related function so gcc4 won't warnPeter S. Mazinger2005-09-222-48/+48
|
* merge x86_64 optimized string supportMike Frysinger2005-09-2116-15/+2875
|
* make sure we treat count as size_t, not ssize_t ... fixes with help from khemMike Frysinger2005-09-161-3/+4
|
* syntax/whitespace touchupsMike Frysinger2005-09-1610-50/+44
|
* fix string functions to not treat the size_t as ssize_tMike Frysinger2005-09-051-6/+13
|
* import sparc-optimized string functions from glibcMike Frysinger2005-08-2644-1/+6783
|
* remove 0.9.27 compat aliasMike Frysinger2005-08-181-1/+0
|
* add a 0.9.27 compat symbol (_glibc_strerror_r) since the function has since ↵Mike Frysinger2005-08-161-0/+1
| | | | been renamed to __glibc_strerror_r in 0.9.28
* sjhill appears confused. vapier's earlier commit of string.h was broken.Manuel Novoa III2005-07-301-2/+2
| | | | | | But I fixed it, and tested both x86 (locale) and mipsel before I commited the fixes. Just built with gcc 4.0.1 to see if that was the cause of his problems, but x86 (locale) built fine. So revert his last change.
* The newly added __glibc_strerror_r function is probably fine, but the"Steven J. Hill"2005-07-301-2/+2
| | | | | uClibc did not even compile or link without errors. This fixes that up. Please test more thoroughly next time.
* Fix string.h. Change our _susv3_strerror_r to __xpg_strerror_r for glibcManuel Novoa III2005-07-282-10/+10
| | | | | compatibility. Also change _glibc_strerror_r to __glibc_strerror_r for consistency.
* Fic gcc 4.0 compilation. Still no confimation that this works onJoakim Tjernlund2005-06-211-30/+42
| | | | gcc 4.0 but I don't want to wait anymore.
* merge parallel build supportMike Frysinger2005-01-258-41/+35
|
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-224-4/+4
| | | | as the flags for all calls to 'as'
* Add a couple of mips-specific string funcs.Manuel Novoa III2004-09-0234-2/+3706
| | | | | | | | | Port the generic optimized string funcs from glibc, with some tweaks to cut their size a little. The main change is making memmove call memcpy for forward copying to trim redundant code. Make use of both the generic and arch-specific speed-optimized string funcs configurable. Arch-specific take precedence over generic, and generic takes precedence over basic size-optimized uClibc funcs.
* Fix a couple of symbol name issues.Manuel Novoa III2004-09-021-5/+8
|
* Philip Craig at snapgear dot com writes:Eric Andersen2004-06-121-1/+10
| | | | Strlen was counting the last 3 bytes incorrectly for big endian arm.
* Alexandre Oliva writes:Eric Andersen2004-05-144-1/+319
| | | | | This patch introduces optimized versions of memcpy and memset for frv.
* Supply '__bzero' with 'bzero' as just a weak alias (since it is not SuSv3)Eric Andersen2004-03-182-4/+7
|
* Based on a patch from Alexandre Oliva, remove all reference to 'bzero' (whichEric Andersen2004-03-181-1/+2
| | | | | is not a SuSv3 symbol). Rather than using __bzero internally per Alexandre's original patch, use memset instead.
* New stdio core. Should be more maintainable. Fixes a couple of bugs.Manuel Novoa III2004-02-111-8/+1
| | | | | | | | Codepaths streamlined. Improved performance for nonthreaded apps when linked with a thread-enabled libc. Minor iconv bug and some locale/thread related startup issues fixed. These showed up in getting a gcj-compiled java helloworld app running. Removed some old extension functions... _stdio_fdout and _stdio_fsfopen.
* Paul Mundt, lethal at linux-sh dot org writes:Eric Andersen2004-01-302-1/+61
| | | | Boredom got the better of me, here's strlen() for sh64..
* Joakim Tjernlund writes:Eric Andersen2004-01-273-1/+245
| | | | | | | | | | | | Hi Erik I have had some fun trying to optimize memcpy, memset and memmove for PPC. There are only boot tested, but I don't expect any problems :) Read the comments in powerpc/string.c for more info. Patch is relative to libc/string Jocke
* Patch from Paul Mundt <lethal@linux-sh.org>:Eric Andersen2003-12-175-1/+431
| | | | | The subject says it all.. optimized memset/memcpy/strcpy, lifted from SuperH's glibc tree.
* Add missing weak alias for bcmpEric Andersen2003-11-201-0/+4
|
* Don't depend on BSD namingEric Andersen2003-11-201-12/+12
|
* Add an initial set of arm optimized string functions. TheseEric Andersen2003-11-2012-1/+1117
| | | | | do seem to make noticable speed improvement... -Erik
* Fixup dependancies to ensure arch specific string functionsEric Andersen2003-11-201-3/+3
| | | | will always win
* Add in aliases provided by the non arch specific implementationsEric Andersen2003-11-061-0/+6
|
* The curse of cut-n-pasteEric Andersen2003-11-062-12/+2
|
* Add some initial x86 string optimizations. These make no attempt to use niftyEric Andersen2003-11-063-2/+385
| | | | | | | | | | | things like mmx/3dnow/etc. These are not inline, and will therefore not be as fast as modifying the headers to use inlines (and cannot therefore do tricky things when dealing with const memory). But they should (I hope!) be faster than their generic equivalents.... More importantly, these should provide a good example for others to follow when adding arch specific optimizations. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
* Patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp> to do arch-requiredManuel Novoa III2003-09-111-66/+103
| | | | mapping of signal strings (alpha, mips, hppa, sparc).
* Fix a few bugs in the new extended locale functions.Manuel Novoa III2003-08-241-9/+23
| | | | | | | | | Move stub gettext functions to a stub libintl to make switching in gnu gettext easier. Also add a few gnu-isms. Change to using hidden names with global weak aliases for the extended locale functions, as expected by libstd++. Slightly rework the locale data generation stuff to allow pregenerated locale data to be used with buildroot.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-012-65/+229
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* Add memmem().Manuel Novoa III2003-06-162-1/+35
|
* Remove bogus link_warning. It is meaningless and stupid. While theManuel Novoa III2003-03-031-2/+0
| | | | | | previous committed patch was well-meaning, the #warning it replaced was simply a reminder I accidently left in when implementing strcoll/wcscoll. Besides, strcmp is completely locale invariant.