summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* - provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.Bernhard Reutner-Fischer2006-12-221-0/+2
| | | | Fixes undefined references to __fputc_unlocked when calling fputc().
* Paul Brook writes:Mike Frysinger2006-12-201-0/+1
| | | | | | | | | | When building an arm-uclinux toolchain withthreading disabled I get: libc/stdio/getchar.c:26: error: 'getchar' aliased to undefined symbol 'getchar_unlocked' It looks like it's missing libc_hidden_def(getchar_unlocked). Patch below fixes this.
* rename local "brk" var so it doesnt namespace collide with the brk() functionMike Frysinger2006-12-171-18/+18
|
* Patch from Bernhard Fischer:Eric Andersen2006-12-152-4/+4
| | | | fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
* fix building when __NR_sigalstack does not existMike Frysinger2006-12-141-0/+3
|
* if __NR_lseek is not defined, then we fall back to calling the 64bit lseekMike Frysinger2006-12-141-0/+9
|
* Fix/disable locking when pthreads is disabledEric Andersen2006-12-121-0/+13
|
* sort out a few issues that show up on mipsEric Andersen2006-12-123-23/+37
|
* mostly revert the locking changes for 'malloc', as the implementationEric Andersen2006-12-112-8/+10
| | | | | | | | does not easily lend itself to becoming complete pthread cancelation safe without first investing in some deep and serious thought... The other malloc implementations are pthread cancelation safe, and this one is mostly used for uClinux, where the lack is at least less likely to be a common problem.
* fix building when pthread support is disabledMike Frysinger2006-12-111-1/+1
|
* dont try and compile if the MMU is disabledMike Frysinger2006-12-111-0/+4
|
* need endian.h for __LONG_LONG_PAIR() macroMike Frysinger2006-12-111-0/+1
|
* cleanup styleMike Frysinger2006-12-111-36/+36
|
* create new menu so people can select what format they wish to build uClibcMike Frysinger2006-12-114-14/+14
|
* these weaks are also needed in libc.so for the time beingEric Andersen2006-12-091-1/+1
|
* oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()Eric Andersen2006-12-091-1/+2
|
* Add missing sys/types.h headerEric Andersen2006-12-096-6/+12
|
* silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen2006-12-095-8/+44
|
* Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger2006-12-0813-55/+276
| | | | libraries
* seems this is the newfangled way to tell folks this stuffEric Andersen2006-12-081-1/+1
| | | | is really really and we mean it this time, for uClibc only
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-08198-283/+176
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* add some warnings to archs that need a bit of attentionEric Andersen2006-12-084-0/+4
|
* if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* only define mremap() if the syscall existsMike Frysinger2006-12-081-0/+5
|
* if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+3
|
* this stuff is for uClibc internal use onlyEric Andersen2006-12-081-0/+2
|
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-083-3/+3
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* __resolv_lock is supposed to be shared, not static Eric Andersen2006-12-081-2/+2
|
* Fill in a few more of the missing pieces...Eric Andersen2006-12-083-108/+75
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-074-35/+32
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-0738-998/+997
| | | | | | | things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
* stdio update from mjn3Eric Andersen2006-12-0617-87/+323
|
* update from mjn3Eric Andersen2006-12-061-2/+2
|
* prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen2006-12-062-0/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-0623-0/+87
| | | | minor include file issues
* pulling in kernel config.h wont flyMike Frysinger2006-12-061-0/+6
|
* PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger2006-12-021-2/+0
| | | | it lives in bits/uClibc_local_lim.h
* (no commit message)"Steven J. Hill"2006-12-021-0/+5
|
* Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"2006-12-021-3/+0
| | | | code it is not defined.
* remove redundant headers local to libpthread, causing headerEric Andersen2006-11-291-2/+5
| | | | file content skew between the versions
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-291-0/+2
|
* - Cleanout the only occurance of the SUSv3 LEGACY function getwd() that wasBernhard Reutner-Fischer2006-11-291-6/+1
| | | | furthermore ifdef'ed out anyway.
* - gcvt() is marked LEGACY in XSI and mandatory in BSD.Bernhard Reutner-Fischer2006-11-291-1/+4
| | | | Also make compilation conditional on float support.
* fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger2006-11-271-0/+1
|
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-173-5/+62
| | | | L1 functions
* revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger2006-11-171-2/+3
| | | | people out there will not need more than 1k threads (and people who do can change this themselves)
* arm thumb:Eric Andersen2006-11-102-19/+96
| | | | | | | | | | | | | | | | | | | | | | Put the call_via_rx code into each executable - call_via_ip cannot possibly work if called through the PLT! ldso requires this code too as it is not linked with the crt stuff and thumb ldso does make calls via a register. The patch puts the code into crti.S so that it is linked into every normally built application (if thumb or interworking is selected). This is only 30 extra bytes and it works - the previous code did not because nothing both implemented and exported the APIs (they were in libgcc, but not in the version script). crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this is essential for thumb support because the .init and .fini sections must use arm or thumb code to match the compilation of the libraries. Note that code which pushes stuff into .init or .fini must be compiled with or without -mthumb to match the uclibc compilation - and gcc itself (which does do this) must therefore be compiled to match.
* I failed to check the patch adding support for the new (stupid) US 2007Eric Andersen2006-11-071-1/+3
| | | | daylight savings time rules when xlocale was enabled. Fix compile error.