summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2008-12-27ctype: remove some trivial macros from ctype.h;Denis Vlasenko
remove __tolower and __toupper (they existed only in SOME configs!); remove usages of _tolower (some of them clearly buggy) from uclibc code; add a few more -U<define> options to unifdef pass over installed headers; document it on docs/wchar_and_locale.txt text data bss dec hex filename - 514963 2727 15396 533086 8225e lib/libuClibc-0.9.30-svn.so + 514888 2727 15396 533011 82213 lib/libuClibc-0.9.30-svn.so
2008-12-26convert yet another old-style function definitionDenis Vlasenko
2008-12-26new regex: stop confusing ourself with _LIBC being undefined;Denis Vlasenko
nuke one struct initializer which was invisibly becoming a memset - this improves speed by x2: test 0 pattern 0 '.?.?.?.?.?.?.?Log\.13' - 0.249795s + 0.133522s test 0 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13' - 0.360115s + 0.191959s text data bss dec hex filename - 515009 2731 15396 533136 82290 lib/libuClibc-0.9.30-svn.so + 514961 2727 15396 533084 8225c lib/libuClibc-0.9.30-svn.so
2008-12-26regex: remove useless casts on allocations;Denis Vlasenko
remove old-style-C function params declarations; change re_comp_buf from struct to pointer (more static build friendly) text data bss dec hex filename - 514952 2731 15424 533107 82273 lib/libuClibc-0.9.30-svn.so + 515011 2731 15396 533138 82292 lib/libuClibc-0.9.30-svn.so
2008-12-26regex: drop __<funcname> aliases. remove much of unused code.Denis Vlasenko
shrink offset tables. disable "likely/unlikely" BE() macro. text data bss dec hex filename - 515032 2731 15424 533187 822c3 lib/libuClibc-0.9.30-svn.so + 515014 2731 15424 533169 822b1 lib/libuClibc-0.9.30-svn.so
2008-12-26include/libc-string_i386.h: fix a bug where memset('\xff') misbehavesDenis Vlasenko
Rules.mak: add -funsigned-char, to forestall future PITA
2008-12-25document internal_functionDenis Vlasenko
2008-12-25test/regex/tst-regexloc.c: include ok/bad indicator in the messageDenis Vlasenko
test/regex/tst-regex2.c: do not exit at the first error
2008-12-25test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko
2008-12-25test/regex/tst-regex2.c: fix test failure. Next one is immediately after...Denis Vlasenko
test 2 pattern 0 '.?.?.?.?.?.?.?Log\.13' -incorrect num_regs 30, expected 2 + 1.283480s +test 2 pattern 1 '(.?)(.?)(.?)(.?)(.?)(.?)(.?)Log\.13' + 3.429810s +test 2 pattern 2 '((((((((((.?))))))))))((((((((((.?))))))))))....' +incorrect num_regs 30, expected 72
2008-12-24test/regex: make it faster to rebuild and run regex testcaseDenis Vlasenko
2008-12-24rename test fileDenis Vlasenko
2008-12-24test/Makefile: make "make compile" install headers firstDenis Vlasenko
test/regex/Makefile: remove superfluous oprions test/regex/tst-regex2.c: reformat, simplify, and make error messages more informative test/test-skeleton.c: kill child test process on ^C
2008-12-23libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,Denis Vlasenko
no need to define it here
2008-12-23These defines needs to be considered after recent linux kernel combined i386 ↵Khem Raj
and x86_64 into x86
2008-12-22- mark capset() as linux specificBernhard Reutner-Fischer
2008-12-22- capget() is linux specific; Sync helptext with current exclude list.Bernhard Reutner-Fischer
2008-12-22- remove leftover from r13277Bernhard Reutner-Fischer
2008-12-22- fix for !GETOPT_LONGBernhard Reutner-Fischer
2008-12-22libm/*: mass removal of:Denis Vlasenko
1. static char rcsid[] = "$NetBSD: ..." 2. /* @(#)s_scalbn.c 5.1 93/09/24 */ 3. #ifdef __STDC__ No code changes (verified with objdump)
2008-12-22extra/locale/gen_wctype.c: remove __CTYPE_isalnum and friends;Denis Vlasenko
stop using macros with hidden parameter - that's evil; reformat broken indenting (it was not matching the number of {}s); fix format warnings (int vs size_t vs long) No code changes (verified with objdump)
2008-12-22UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko
equal to "include/bits/uClibc_ctype.h" __CTYPE_unclassified and other similar __CTYPE_xxxx constants are moved to separate include file, bits/uClibc_charclass.h Duplicate declaration of these constants is removed from libc/misc/wctype/_wctype.c Ugly re-inclusion trick in extra/locale/gen_wctype.c deleted Large ifdefed-out chunk in extra/locale/gen_wctype.c removed Move __CTYPE_isalnum() etc macros from uClibc_ctype.h to their single user, extra/locale/gen_wctype.c (can be simplified further) Overall, no code changes (verified with objdump)
2008-12-22- remove whitespaceBernhard Reutner-Fischer
2008-12-22- fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer
math support - add rule to create preprocessor output for float- and long double math wrapper
2008-12-22add new file to docs/Denis Vlasenko
2008-12-22remove stray comment (the identical one is just a few lines down)Denis Vlasenko
2008-12-22- non-pic support for MIPS (Catherine Moore, clm at codesourcery com)Bernhard Reutner-Fischer
2008-12-22Remove unused macrosDenis Vlasenko
2008-12-22docs/defines.txt: document _extern_inlineDenis Vlasenko
libc/inet/ether_addr.c: optimize tolower, we ever use it on 0-9a-f libc/inet/ntop.c: optimize tolower, we ever use it on 0-9a-f with locale support on, code size change is: text data bss dec hex filename - 396 0 24 420 1a4 libc/inet/ether_addr.os + 306 0 24 330 14a libc/inet/ether_addr.os - 1453 0 0 1453 5ad libc/inet/ntop.os + 1430 0 0 1430 596 libc/inet/ntop.os
2008-12-21more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko
2008-12-21more of pointer signedness warnings removedDenis Vlasenko
2008-12-21heed multiple warnings of the typeDenis Vlasenko
libc/stdio/_vfprintf.c:1892: warning: passing argument 1 of '_[w]stdio_fwrite' from incompatible pointer type
2008-12-20libc/stdio/_scanf.c: heed lots of warnings about signed/unsigned charsDenis Vlasenko
and such; remove two unneeded static string (inline "str" works better code-size wise).
2008-12-20extra/locale/locale_mmap.h: fix broken whitespaceDenis Vlasenko
2008-12-20libc/misc/locale/locale.c: heed a pile of warningsDenis Vlasenko
from signed/unsigned char conversions
2008-12-20libc/misc/locale/locale.c: remove one unneeded static data,Denis Vlasenko
rewrite one exceptionally unreadable loop. Heed a few warnings (wrong type for string op params) text data bss dec hex filename - 1164 16 0 1180 49c libc/misc/locale/newlocale.os + 1180 0 0 1180 49c libc/misc/locale/newlocale.os - 494480 2751 15684 512915 7d393 lib/libuClibc-0.9.30-svn.so + 494472 2735 15684 512891 7d37b lib/libuClibc-0.9.30-svn.so
2008-12-20Deal with a few data fields which may be made constant.Denis Vlasenko
text data bss dec hex filename - 1237 9 28 1274 4fa libc/inet/rpc/getrpcent.os + 1246 0 28 1274 4fa libc/inet/rpc/getrpcent.os - 773 24 0 797 31d libc/misc/time/_time_localtime_tzi.os + 772 16 0 788 314 libc/misc/time/_time_localtime_tzi.os
2008-12-20libc/string/i386/rawmemchr.c: i386 version, adapted from strlen()Denis Vlasenko
libc/string/i386/strlen.c: small optimization, same code size) text data bss dec hex filename - 240449 1759 11960 254168 3e0d8 lib/libuClibc-0.9.30-svn.so + 240339 1759 11960 254058 3e06a lib/libuClibc-0.9.30-svn.so
2008-12-20string/i386/strncpy.c: fixlet for testing codeDenis Vlasenko
string/i386/strchrnul.c: new function, adapted from strchr.c text data bss dec hex filename - 240604 1759 11960 254323 3e173 lib/libuClibc-0.9.30-svn.so + 240449 1759 11960 254168 3e0d8 lib/libuClibc-0.9.30-svn.so
2008-12-20string/i386/strncpy: faster i386 version (same code size), testing codeDenis Vlasenko
string/i386/*: formatiing and commentary tidying up
2008-12-19strchr: a bit faster version for i386 (same code size)Denis Vlasenko
2008-12-19memmove: smaller one for i386, with added testing, and withDenis Vlasenko
added check for src == dest. run tested. text data bss dec hex filename - 39 0 0 39 27 libc/string/i386/memmove.os + 37 0 0 37 25 libc/string/i386/memmove.os
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-19remove one forgotten '##'. Heeds:Denis Vlasenko
warning: type defaults to 'int' in declaration of 'intfcntl'
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-17fix for build failures resulting from "string ops for i386" changeDenis Vlasenko
2008-12-17- provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Bernhard Reutner-Fischer
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-17resolv: fix testcase failureDenis Vlasenko
test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"