Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-12-11 | mostly revert the locking changes for 'malloc', as the implementation | Eric 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-07 | Major cleanup of internal mutex locking. Be more consistant in how we do | Eric 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-08-05 | merge fix from blackfin cvs: | Mike Frysinger | |
bernds writes: Use __alignof__ instead of sizeof to get alignments. Eliminates some warnings about misalignments when malloc debugging is enabled. | |||
2006-03-10 | Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵ | Peter S. Mazinger | |
most of global data relocations are back | |||
2006-02-22 | check for a 0 size first, then check for a NULL pointer | Mike Frysinger | |
2006-02-18 | tweak the idea between having a MMU and actually using it | Mike Frysinger | |
2006-02-13 | libc-{a,so,multi}-y replaced by libc-y covering common objects both in ↵ | Peter S. Mazinger | |
libc.a/libc.so, the diffs go into libc-static-y/libc-shared-y exclusively, add IMA to libc, don't use any MSRC anymore | |||
2006-01-29 | declare local prototype since we cant use system malloc.h | Mike Frysinger | |
2006-01-14 | hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵ | Peter S. Mazinger | |
missing headers, other jump relocs removed | |||
2005-12-30 | fix path to heap.h as point out by thomas_chou in Bug 617 | Mike Frysinger | |
2005-12-16 | Convert all the rest, remove isxupper/isxlower, if someone objects, I'll add ↵ | Peter S. Mazinger | |
it back | |||
2005-12-13 | __malloc_consolidate is only libc internal, enable use of __sbrk | Peter S. Mazinger | |
2005-12-09 | Implement hidden poll, switch user to hidden *printf/*scanf/poll | Peter S. Mazinger | |
2005-12-08 | mmap/mremap/socket/rewind gone | Peter S. Mazinger | |
2005-12-08 | Use internal versions | Peter S. Mazinger | |
2005-12-06 | macro out the thread funcs in libc if threading is disabled | Mike Frysinger | |
2005-12-04 | More hiding, 300 left | Peter S. Mazinger | |
2005-12-03 | More hiding, including __mempcpy | Peter S. Mazinger | |
2005-12-01 | Hide mostly used functions | Peter S. Mazinger | |
2005-11-21 | Remove TOPDIR | Peter S. Mazinger | |
2005-11-03 | Enable IMA | Peter S. Mazinger | |
2005-11-01 | Remove last unused references to libc-a-pic-, we use only the lists in ↵ | Peter S. Mazinger | |
libc-a-y for objects that go into static libs, changing their suffix to .os, of they should be PIC | |||
2005-10-29 | Replace all Makefiles for new build infrastucture | Peter S. Mazinger | |
2005-10-25 | All Makefile.in's. Only arm/i386/mips/powerpc/x86_64 are done, the other ↵ | Peter S. Mazinger | |
archs lack proper crt1. The Makefiles in extra/scripts are intended to be linked into each dir, where it is necessary to build locally. | |||
2005-10-12 | Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵ | Peter S. Mazinger | |
objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much. | |||
2005-01-25 | merge parallel build support | Mike Frysinger | |
2004-08-16 | The variable used to store pagesize is not the same as the | Eric Andersen | |
_dl_pagesize variable in ldso, so avoid aliasing. -Erik | |||
2004-08-13 | Fixup PAGE_SIZE problems | Eric Andersen | |
-Erik | |||
2004-07-15 | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | |
Only use MAP_SHARED when mmu-less. | |||
2004-01-16 | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | |
2003-12-30 | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | |
Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik | |||
2003-12-27 | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | |
were including libc-lock.h which had a bunch of weak pragmas. Also, uClibc supplied a number of no-op weak thread functions even though many weren't needed. This combined result was that sometimes the functional versions of thread functions in pthread would not override the weaks in libc. While fixing this, I also prepended double-underscore to all necessary weak thread funcs in uClibc, and removed all unused weaks. I did a test build, but haven't tested this since these changes are a backport from my working tree. I did test the changes there and no longer need to explicitly add -lpthread in the perl build for perl to pass its thread self tests. | |||
2003-10-18 | Peter Kjellerstedt writes: | Eric Andersen | |
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM). | |||
2003-10-16 | Code formatting cleanup. | Miles Bader | |
2003-10-16 | Don't set errno if for zero SIZE returns. | Miles Bader | |
Code formatting cleanup. | |||
2003-09-22 | More fiddling with static free-areas: make sure both their size _and_ | Miles Bader | |
their alignment are correct. | |||
2003-09-19 | Make sure we don't allocate too little space for static free-areas | Miles Bader | |
because of our fiddling with alignment (because doing so is VERY BAD). | |||
2003-09-19 | Add dependencies on header files. | Miles Bader | |
2003-09-17 | Make sure static heaps are aligned correctly. | Miles Bader | |
2003-09-06 | 'extern inline' doesn't work... Use 'static inline' | Eric Andersen | |
2003-09-06 | add missing prototype | Eric Andersen | |
2003-09-06 | Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c, | Eric Andersen | |
which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1); | |||
2003-08-08 | Add in a MALLOC_GLIBC_COMPAT option to let people decide if they | Eric Andersen | |
want glibc style malloc(0) behavior | |||
2003-04-02 | (free_to_heap): Unlock the heap before returning in the | Miles Bader | |
__UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw. | |||
2003-01-23 | Update malloc behavior on malloc(0) to be consistant with | Eric Andersen | |
malloc-930716 behavior, i.e. return a NULL. | |||
2002-11-21 | Debugging tweaks. | Miles Bader | |
2002-11-21 | Improve malloc debugging support. | Miles Bader | |
2002-10-18 | Don't infinitely recurse when trying to grow __malloc_mmb_heap. | Miles Bader | |
2002-10-17 | Fix malloc so it compiles and works when using pthreads | Eric Andersen | |
-Erik | |||
2002-10-15 | Use __heap_[un]lock instead of __malloc_[un]lock. | Miles Bader | |