summaryrefslogtreecommitdiffstats
path: root/libc/string/generic
Commit message (Collapse)AuthorAgeFilesLines
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-1823-40/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* - fix link failures coming from recently added, misplaced strverscmp.Bernhard Reutner-Fischer2009-02-131-117/+0
|
* forgot to add libc/string/generic/strverscmp.cDenis Vlasenko2009-02-081-0/+117
|
* since gcc -Os hates us and does not inline string ops,Denis Vlasenko2008-12-172-5/+2
| | | | | | | | | | implement inline versions of some of them. Enable only those which result roughly in the same code size as using out-or-line versions. None of this affects users, installed headers won't have any trace of it.
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-132-130/+0
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* string/generic/memcmp.c: remove some really paranoid guardsDenis Vlasenko2008-12-131-15/+2
| | | | | for ancient compilers. none of other string/*.c files have them.
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-121-18/+9
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* libc_hidden_proto removal, just a few functionsDenis Vlasenko2008-11-187-7/+7
|
* - use c89-style commentsBernhard Reutner-Fischer2008-10-031-7/+7
| | | | Closes issue #5194
* Fix compilation problem whit the following config options:Carmelo Amoroso2008-10-012-3/+1
| | | | | | | | | UCLIBC_HAS_STRING_GENERIC_OPT=y UCLIBC_HAS_STRING_ARCH_OPT is not set by making WORD_COPY_FWD macros visible. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - silence warning about possibly undefined preprocessor tokenBernhard Reutner-Fischer2008-09-241-2/+2
|
* Add optimized memcpy implementation for sh4 (from Stuart Menefy ↵Carmelo Amoroso2008-09-094-190/+201
| | | | | | | | @STMicroelectronics). This implementation is based on 'backward copying'. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer2008-05-201-10/+3
|
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-1925-37/+37
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* mark a bunch of public mem/str functions as weak so that people who insist ↵Mike Frysinger2007-12-2210-12/+12
| | | | on their own local copies while static linking dont hit link failures when other uClibc code force the libc.a objects to be pulled in via the hidden alias symbols
* Qunying Pan writes: Make strncmp weak hidden to fix link failures in ↵Mike Frysinger2006-05-301-1/+1
| | | | building gdb and binutils statically
* fix signed warningsMike Frysinger2006-05-152-4/+4
|
* Add new option for SuSv3 legacy functions and use it for ↵Peter S. Mazinger2006-03-233-0/+6
| | | | bcopy/bzero/bcmp/index/rindex
* Mark some functions as BSD onlyPeter S. Mazinger2006-03-231-1/+4
|
* Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger2006-03-227-1/+19
| | | | _ISOC99/XOPEN_SOURCE
* unify duplicated code cause i get tired of updating this stuffMike Frysinger2006-02-032-32/+3
|
* Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger2006-01-227-7/+0
| | | | is a useless attempt
* make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger2006-01-151-1/+1
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-1425-26/+34
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-1425-95/+122
| | | | missing headers, other jump relocs removed
* Use strong_alias everywhere instead of .global/.set. Correct some cases ↵Peter S. Mazinger2006-01-0325-89/+34
| | | | where the non-hidden version was used.
* Use hidden_strong_alias for alias(__x,__y), do not use recursive aliasesPeter S. Mazinger2005-12-081-2/+2
|
* Correct syntax now...Peter S. Mazinger2005-12-061-4/+1
|
* More hiding, including __mempcpyPeter S. Mazinger2005-12-031-1/+1
|
* No, '__mempcpy' is used by user-space applications, like coreutils for ↵"Steven J. Hill"2005-12-021-1/+1
| | | | example and glibc still has '__mempcpy' as a global symbol. How about this, do a complete buildroot file system after hacking uClibc to make sure things work? There's a novel idea.
* Hide mostly used functionsPeter S. Mazinger2005-12-016-12/+9
|
* Hiding againPeter S. Mazinger2005-11-291-1/+1
|
* Hide some of mem* and str*Peter S. Mazinger2005-11-273-0/+8
|
* Unhide __mempcpy, provide __libc_mempcpy for internal usePeter S. Mazinger2005-11-261-2/+3
|
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Correct Warning: function declaration isn't a prototypePeter S. Mazinger2005-11-158-26/+8
|
* Move to use attribute_hiddenPeter S. Mazinger2005-11-1425-69/+83
|
* Enable IMA on libc/string/genericPeter S. Mazinger2005-11-031-7/+3
|
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-33/+8
|
* Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does ↵Peter S. Mazinger2005-10-281-1/+0
| | | | 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-251-0/+34
| | | | 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-121-12/+6
| | | | 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-221-4/+4
|
* merge parallel build supportMike Frysinger2005-01-251-6/+4
|
* Add a couple of mips-specific string funcs.Manuel Novoa III2004-09-0229-0/+3377
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.