summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2007-01-10Fix SEGV for static builds in exit() path.Joakim Tjernlund
Leave the now obsolete libc/misc/pthread dir in for now.
2007-01-10need to keep __check_rhosts_file exported for proper rhost controlMike Frysinger
2007-01-10sync with upstream blackfin.uclinux.orgMike Frysinger
2007-01-09Aurelien Jacobs writes:Joakim Tjernlund
After our last update a new compilation breakage appeared when compiling gcc: /home/aurel/geex/geexbox/build.i386/toolchain/i386-pc-linux-uclibc/sysroot/usr/include/bits/uClibc_stdio.h:346: error: expected initializer before 'attribute_hidden' Some investigations revealed that the following changeset is responsible for this breakage: http://uclibc.org/cgi-bin/viewcvs.cgi/trunk/uClibc/libc/sysdeps/linux/common/bits/uClibc_stdio.h?rev=16801&r1=16793&r2=16801&diff_format=h Reverting just one hunk of this changeset fixed the problem us. I'm not sure this is the right fix, but please see attached patch. Look good to me.
2007-01-05Support SecurePLTs for PowerPC. You need a toolchain that supportsJoakim Tjernlund
config option --enable-secureplt. The assembler must also supports R_PPC_REL16* relocations. gcc 4.1.1 and binutils 2.17 is known to do this.
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.