summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2007-01-28make sure we clear out the buffer so that random garbage on the stack doesnt ↵Mike Frysinger
screw us up
2007-01-28Paul Brook writes:Mike Frysinger
The patch below tweaks the ARM nommu startup code so that doubleword stack alignment is preserved. This is required on EABI targets.
2007-01-27fix from blackfin repo: Jie Zhang writes: update __kernel_ipc_pid_t, ↵Mike Frysinger
__kernel_uid_t and __kernel_gid_t types to match actual kernel types
2007-01-27fix from blackfin repo: Jie Zhang writes: Passing NULL as the second ↵Mike Frysinger
argument to utimes () if the second argument to utime () is NULL as the kernel will take care of getting/setting current time
2007-01-24fix from Bryan Wu: return NULL upon error, not the NULL stringMike Frysinger
2007-01-22Recognize _SC_MONOTONIC_CLOCK in sysconf() even if __NR_clock_getresPeter Kjellerstedt
is not defined.
2007-01-21- repair misplaced #endif that got introduced in r17410. Fixes compilation.Bernhard Reutner-Fischer
2007-01-20Disable declarations for NPTL."Steven J. Hill"
2007-01-20The case for _SC_MONOTONIC_CLOCK should only exist if 'clock_getres' does."Steven J. Hill"
2007-01-20- Trim superfluous trailing whitespace. No obj-code changes.Bernhard Reutner-Fischer
2007-01-11Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund
This should fix it.
2007-01-10merge from blackfin.uclinux.org: AdjustMike Frysinger
crt1.S so that __uClibc_main is called properly
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.