summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2007-01-05Atle Nissestad writes: The attached patch fixes compilation of the current ↵Mike Frysinger
svn on the nios2 platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to work.
2006-12-22- provide a hidden_def for fputc_unlocked that is aliased to __fputc_unlocked.Bernhard Reutner-Fischer
Fixes undefined references to __fputc_unlocked when calling fputc().
2006-12-20Paul Brook writes:Mike Frysinger
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.
2006-12-17rename local "brk" var so it doesnt namespace collide with the brk() functionMike Frysinger
2006-12-15Patch from Bernhard Fischer:Eric Andersen
fix compilation if PUTC_MACRO and/or GETC_MACRO is turned off
2006-12-14fix building when __NR_sigalstack does not existMike Frysinger
2006-12-14if __NR_lseek is not defined, then we fall back to calling the 64bit lseekMike Frysinger
2006-12-12Fix/disable locking when pthreads is disabledEric Andersen
2006-12-12sort out a few issues that show up on mipsEric Andersen
2006-12-11mostly revert the locking changes for 'malloc', as the implementationEric Andersen
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.
2006-12-11fix building when pthread support is disabledMike Frysinger
2006-12-11dont try and compile if the MMU is disabledMike Frysinger
2006-12-11need endian.h for __LONG_LONG_PAIR() macroMike Frysinger
2006-12-11cleanup styleMike Frysinger
2006-12-11create new menu so people can select what format they wish to build uClibcMike Frysinger
2006-12-09these weaks are also needed in libc.so for the time beingEric Andersen
2006-12-09oops, use __pthread_mutex_unlock() not pthread_mutex_unlock()Eric Andersen
2006-12-09Add missing sys/types.h headerEric Andersen
2006-12-09silence a lot of warnings and fix a few genuine bugs while I'm at it.Eric Andersen
2006-12-08Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger
libraries
2006-12-08seems this is the newfangled way to tell folks this stuffEric Andersen
is really really and we mean it this time, for uClibc only
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-08add some warnings to archs that need a bit of attentionEric Andersen
2006-12-08if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08only define mremap() if the syscall existsMike Frysinger
2006-12-08if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08this stuff is for uClibc internal use onlyEric Andersen
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-08__resolv_lock is supposed to be shared, not static Eric Andersen
2006-12-08Fill in a few more of the missing pieces...Eric Andersen
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
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.
2006-12-06stdio update from mjn3Eric Andersen
2006-12-06update from mjn3Eric Andersen
2006-12-06prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-12-06pulling in kernel config.h wont flyMike Frysinger
2006-12-02PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger
it lives in bits/uClibc_local_lim.h
2006-12-02(no commit message)"Steven J. Hill"
2006-12-02Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"
code it is not defined.
2006-11-29remove redundant headers local to libpthread, causing headerEric Andersen
file content skew between the versions
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer
2006-11-29- Cleanout the only occurance of the SUSv3 LEGACY function getwd() that wasBernhard Reutner-Fischer
furthermore ifdef'ed out anyway.
2006-11-29- gcvt() is marked LEGACY in XSI and mandatory in BSD.Bernhard Reutner-Fischer
Also make compilation conditional on float support.
2006-11-27fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger
2006-11-17Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger
L1 functions
2006-11-17revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger
people out there will not need more than 1k threads (and people who do can change this themselves)
2006-11-10arm thumb:Eric Andersen
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.