summaryrefslogtreecommitdiffstats
path: root/libc/misc
Commit message (Collapse)AuthorAgeFilesLines
...
* convert yet another old-style function definitionDenis Vlasenko2008-12-261-5/+5
|
* 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-266-341/+52
| | | | | | | | | 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
* test/regex/tst-regex2.c: fix the rest of testsuite failuresDenis Vlasenko2008-12-251-1/+12
|
* 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
* Fix nptl librt build breakage Khem Raj2008-12-241-2/+2
|
* ldso/ldso/mips/*: non-pic support from trunkDenis Vlasenko2008-12-231-19/+24
| | | | | | | | | | libc/string/*: small fixes sync from trunk test/regex/tst-regex2.c: small fixes sync from trunk libc/misc/time/time.c: optimization from trunk: text data bss dec hex filename - 854 24 0 878 36e libc/misc/time/_time_localtime_tzi.os + 818 16 0 834 342 libc/misc/time/_time_localtime_tzi.os
* sync with trunk. Compile tested on i386Denis Vlasenko2008-12-236-123/+73
|
* Get non nptl threads compiled on x86.Khem Raj2008-12-235-19/+25
|
* Synch with trunk @ 24242Carmelo Amoroso2008-12-034-21/+6
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-0/+7
| | | | | | | | | | while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-021-8/+8
| | | | Sync from trunk.
* sign-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-021-1/+2
| | | | Move includes out of __UCLIBC_HAS_THREADS_NATIVE__ conditional
* signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-023-20/+48
| | | | | More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-2754-380/+365
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-272-8/+9
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-1820-60/+60
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1723-615/+425
| | | | Step 6: libc/misc
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1723-92/+92
| | | | | Step 5 Various Makefile.in
* Make sure that multi-threaded statically linked applications use the realCarmelo Amoroso2008-09-031-2/+1
| | | | | | | | | | locking implementations instead of the empty stubs from libc.a. Removed also old work-around added to opendir, due to wrong pthread_mutex_init (from libc.a) used in static binaries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3128-255/+302
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ↵Khem Raj2008-07-091-57/+45
| | | | ARM as well.
* BIG BIG commit: forgotten filesCarmelo Amoroso2008-07-095-0/+203
|
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-0953-565/+623
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* SYnch with trunk: new filesCarmelo Amoroso2008-07-092-0/+25
|
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-097-11/+20
| | | | system
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-274-5/+2
|
* Remove pointless initialisation to 0 of some DIR's fieldsCarmelo Amoroso2007-12-091-1/+0
| | | | | | | | having called memset on whole DIR structure (and synch with trunk). Pointed out by Peter Mazinger Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix opendir problem when statically linked due to a missingCarmelo Amoroso2007-12-051-0/+1
| | | | | | | | | initialization of the mutex field within DIR struct. When linked dynamically instead, __pthread_mutex_init will initialize the mutex itself. Without this fix, any call to readdir will stuck forever trying to acquire the mutex. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix __uClibc_main.c to not create aliases to hidden variablesCarmelo Amoroso2007-11-221-8/+8
| | | | | | | | | | | (like __progname). This patch has been already into the trunk and it solves a segfault with openssh for example. Further needed to fix the prototype of 'program_invocation_name; into include/errno.h to avoid mismatch with definition within libc/misc/internals/__uCLibc_main.c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Last to missing files. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>Carmelo Amoroso2007-11-221-1/+2
|
* Added some missing files:Carmelo Amoroso2007-11-211-0/+11
| | | | | | | | creat.c: to provide creat function longjmp.c: to provide longjmp implementation for sh4 tsd.c: to provide implementation of __libc_dl_error_tsd Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-2028-69/+52
| | | | <carmelo.amoroso@st.com>
* Fix up header files."Steven J. Hill"2007-04-141-4/+1
|
* More merging from trunk."Steven J. Hill"2007-01-213-9/+9
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+27
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+35
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+53
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+46
|
* This is a temporary hack until we fully sync up with trunk."Steven J. Hill"2006-11-271-1/+0
|
* Merge from trunk and bring in NPTL code in the various 'misc' subsystems."Steven J. Hill"2006-08-2451-173/+528
|
* Merge from trunk."Steven J. Hill"2006-08-224-299/+821
|
* Remove directory."Steven J. Hill"2006-08-213-147/+0
|
* Remove dead file."Steven J. Hill"2006-08-211-33/+0
|
* Merge from trunk."Steven J. Hill"2006-02-285-74/+71
|
* Merge from trunk."Steven J. Hill"2006-02-2889-1957/+2000
|
* Merge from trunk."Steven J. Hill"2006-02-27121-1568/+2432
|
* Merge from trunk. Going pretty good so far. Kind of. Okay, not really."Steven J. Hill"2006-02-2529-170/+365
|
* Get rid of more glibc NPTL symbol and alias madness. Also disable usage of"Steven J. Hill"2006-01-141-0/+5
| | | | | | 'libc/sysdeps/linux/common/fork.c' when NPTL is being used. Finally, there are additional weak functions that need to be defined when using NPTL which have also been added.