summaryrefslogtreecommitdiff
path: root/libc/string/i386
AgeCommit message (Collapse)Author
2008-12-19strncat: shorter version for i386, add small embedded testDenis Vlasenko
memchr: add small embedded test strnlen: make small embedded test easier to use strncmp: reformat assembly to make it readable, no code changes (verified with objdump) text data bss dec hex filename - 46 0 0 46 2e libc/string/i386/strncat.os + 39 0 0 39 27 libc/string/i386/strncat.os
2008-12-19string/i386: smaller, and hopefully easier to read, strnlen().Denis Vlasenko
text data bss dec hex filename - 25 0 0 25 19 libc/string/i386/strnlen.os + 24 0 0 24 18 libc/string/i386/strnlen.os
2008-12-17since gcc -Os hates us and does not inline string ops,Denis Vlasenko
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.
2008-12-17memchr: smaller i386 versionDenis Vlasenko
strrchr: smaller i386 version text data bss dec hex filename - 33 0 0 33 21 libc/string/i386/memchr.o + 28 0 0 28 1c libc/string/i386/memchr.o - 31 0 0 31 1f libc/string/i386/strrchr.o + 26 0 0 26 1a libc/string/i386/strrchr.o
2008-12-09smaller memcpyDenis Vlasenko
text data bss dec hex filename - 39 0 0 39 27 libc/string/i386/memcpy.os + 35 0 0 35 23 libc/string/i386/memcpy.os
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
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.
2006-05-30Qunying Pan writes: Make strncmp weak hidden to fix link failures in ↵Mike Frysinger
building gdb and binutils statically
2006-03-23Add new option for SuSv3 legacy functions and use it for ↵Peter S. Mazinger
bcopy/bzero/bcmp/index/rindex
2006-03-22Mark some functions as GNU, provide missing hidden memmem, remove ↵Peter S. Mazinger
_ISOC99/XOPEN_SOURCE
2006-02-03unify duplicated code cause i get tired of updating this stuffMike Frysinger
2006-01-22Enable _GNU_SOURCE build wide, trying to get consistent interfaces, else IMA ↵Peter S. Mazinger
is a useless attempt
2006-01-15make gcc4 happy w/ hidden_def/proto, correct some typosPeter S. Mazinger
2006-01-14make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger
2006-01-14hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger
missing headers, other jump relocs removed
2006-01-03Use strong_alias everywhere instead of .global/.set. Correct some cases ↵Peter S. Mazinger
where the non-hidden version was used.
2005-12-08Use hidden_strong_alias for alias(__x,__y), do not use recursive aliasesPeter S. Mazinger
2005-11-21Remove TOPDIRPeter S. Mazinger
2005-11-14Corrections to splitted filesPeter S. Mazinger
2005-11-11Split up string.c, make internals hiddenPeter S. Mazinger
2005-11-08Remove #define _STDIO_UTILITY, can't find any use of itPeter S. Mazinger
2005-11-07Disable multi build on asm files. i386/powerpc could be used if the source ↵Peter S. Mazinger
is splitted up
2005-11-01Only because of multi sources I had to touch up these and add code duplicationPeter S. Mazinger
2005-10-29Replace all Makefiles for new build infrastucturePeter S. Mazinger
2005-10-28Renamed arch specific Makefile.in to Makefile.arch, else if TARGET_ARCH does ↵Peter S. Mazinger
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
2005-10-25All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵Peter S. Mazinger
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally.
2005-10-12Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger
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.
2005-09-05fix string functions to not treat the size_t as ssize_tMike Frysinger
2005-01-25merge parallel build supportMike Frysinger
2003-11-06Add in aliases provided by the non arch specific implementationsEric Andersen
2003-11-06The curse of cut-n-pasteEric Andersen
2003-11-06Add some initial x86 string optimizations. These make no attempt to use niftyEric Andersen
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