summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* new regex: stop confusing ourself with _LIBC being undefined;Denis Vlasenko2008-12-265-165/+88
| | | | | | | | | | | | | | | | | 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
* regex: remove useless casts on allocations;Denis Vlasenko2008-12-264-92/+96
| | | | | | | | | | 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
* regex: drop __<funcname> aliases. remove much of unused code.Denis Vlasenko2008-12-267-348/+59
| | | | | | | | | 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
* include/libc-string_i386.h: fix a bug where memset('\xff') misbehavesDenis Vlasenko2008-12-262-2/+6
| | | | | Rules.mak: add -funsigned-char, to forestall future PITA
* document internal_functionDenis Vlasenko2008-12-251-0/+5
|
* test/regex/tst-regexloc.c: include ok/bad indicator in the messageDenis Vlasenko2008-12-252-19/+40
| | | | | test/regex/tst-regex2.c: do not exit at the first error
* test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko2008-12-252-1/+16
|
* test/regex/tst-regex2.c: fix test failure. Next one is immediately after...Denis Vlasenko2008-12-251-1/+1
| | | | | | | | | | | | 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
* test/regex: make it faster to rebuild and run regex testcaseDenis Vlasenko2008-12-249-21/+29
|
* rename test fileDenis Vlasenko2008-12-241-0/+0
|
* test/Makefile: make "make compile" install headers firstDenis Vlasenko2008-12-244-223/+223
| | | | | | | | 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
* libc/sysdeps/linux/hppa/bits/signum.h: _NSIG == 65 is the common value,Denis Vlasenko2008-12-231-3/+0
| | | | | no need to define it here
* These defines needs to be considered after recent linux kernel combined i386 ↵Khem Raj2008-12-231-2/+6
| | | | and x86_64 into x86
* - mark capset() as linux specificBernhard Reutner-Fischer2008-12-223-3/+3
|
* - capget() is linux specific; Sync helptext with current exclude list.Bernhard Reutner-Fischer2008-12-222-3/+8
|
* - remove leftover from r13277Bernhard Reutner-Fischer2008-12-221-1/+0
|
* - fix for !GETOPT_LONGBernhard Reutner-Fischer2008-12-222-12/+36
|
* libm/*: mass removal of:Denis Vlasenko2008-12-22100-1425/+113
| | | | | | | | | 1. static char rcsid[] = "$NetBSD: ..." 2. /* @(#)s_scalbn.c 5.1 93/09/24 */ 3. #ifdef __STDC__ No code changes (verified with objdump)
* extra/locale/gen_wctype.c: remove __CTYPE_isalnum and friends;Denis Vlasenko2008-12-221-379/+354
| | | | | | | | | 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)
* UCLIBC_CTYPE_HEADER define is removed, as it alwaysDenis Vlasenko2008-12-226-152/+69
| | | | | | | | | | | | | | | | | | | | | | 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)
* - remove whitespaceBernhard Reutner-Fischer2008-12-221-4/+1
|
* - fix fpclassify, signbit, isfinite, isnan, isinf macros for long double ↵Bernhard Reutner-Fischer2008-12-2234-216/+202
| | | | | | math support - add rule to create preprocessor output for float- and long double math wrapper
* add new file to docs/Denis Vlasenko2008-12-221-0/+114
|
* remove stray comment (the identical one is just a few lines down)Denis Vlasenko2008-12-221-2/+0
|
* - non-pic support for MIPS (Catherine Moore, clm at codesourcery com)Bernhard Reutner-Fischer2008-12-225-6/+167
|
* Remove unused macrosDenis Vlasenko2008-12-222-35/+12
|
* docs/defines.txt: document _extern_inlineDenis Vlasenko2008-12-223-75/+70
| | | | | | | | | | | | | 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
* more of warning fixes, mostly pointer signedness mismatchesDenis Vlasenko2008-12-216-10/+11
|
* more of pointer signedness warnings removedDenis Vlasenko2008-12-213-18/+17
|
* heed multiple warnings of the typeDenis Vlasenko2008-12-211-7/+8
| | | | | | libc/stdio/_vfprintf.c:1892: warning: passing argument 1 of '_[w]stdio_fwrite' from incompatible pointer type
* libc/stdio/_scanf.c: heed lots of warnings about signed/unsigned charsDenis Vlasenko2008-12-201-24/+12
| | | | | | and such; remove two unneeded static string (inline "str" works better code-size wise).
* extra/locale/locale_mmap.h: fix broken whitespaceDenis Vlasenko2008-12-201-17/+15
|
* libc/misc/locale/locale.c: heed a pile of warningsDenis Vlasenko2008-12-202-19/+19
| | | | | from signed/unsigned char conversions
* libc/misc/locale/locale.c: remove one unneeded static data,Denis Vlasenko2008-12-202-13/+21
| | | | | | | | | | | | 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
* Deal with a few data fields which may be made constant.Denis Vlasenko2008-12-202-20/+25
| | | | | | | | | 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
* libc/string/i386/rawmemchr.c: i386 version, adapted from strlen()Denis Vlasenko2008-12-202-9/+33
| | | | | | | | | 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
* string/i386/strncpy.c: fixlet for testing codeDenis Vlasenko2008-12-202-1/+48
| | | | | | | | | 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
* string/i386/strncpy: faster i386 version (same code size), testing codeDenis Vlasenko2008-12-206-28/+47
| | | | | string/i386/*: formatiing and commentary tidying up
* strchr: a bit faster version for i386 (same code size)Denis Vlasenko2008-12-191-15/+17
|
* memmove: smaller one for i386, with added testing, and withDenis Vlasenko2008-12-191-20/+32
| | | | | | | | | 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
* strncat: shorter version for i386, add small embedded testDenis Vlasenko2008-12-194-55/+106
| | | | | | | | | | | | 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
* remove one forgotten '##'. Heeds:Denis Vlasenko2008-12-191-1/+1
| | | | | warning: type defaults to 'int' in declaration of 'intfcntl'
* string/i386: smaller, and hopefully easier to read, strnlen().Denis Vlasenko2008-12-191-16/+31
| | | | | | | 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
* fix for build failures resulting from "string ops for i386" changeDenis Vlasenko2008-12-172-1/+2
|
* - provide INTERNAL_SYSCALL for ia64 (Stefan Assmann, sassmann at suse de)Bernhard Reutner-Fischer2008-12-171-81/+110
|
* since gcc -Os hates us and does not inline string ops,Denis Vlasenko2008-12-1711-20/+341
| | | | | | | | | | 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.
* memchr: smaller i386 versionDenis Vlasenko2008-12-172-26/+34
| | | | | | | | | | | 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
* resolv: fix testcase failureDenis Vlasenko2008-12-172-10/+15
| | | | | test/regex/tst-regex2.c: fix testcase to compile with just "gcc <file>.c"
* - emulate unavailable syscall getpgrp on e.g. ia64 (Stefan Assmann)Bernhard Reutner-Fischer2008-12-161-1/+13
|
* - install utils into the proper directoriesBernhard Reutner-Fischer2008-12-161-5/+5
|