Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | support building out-of-tree | Bernhard Reutner-Fischer | 2009-08-19 | 1 | -0/+2 |
| | | | | | | | Handle O= Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | ||||
* | Synch with trunk @ 24165 | Carmelo Amoroso | 2008-11-27 | 4 | -10/+10 |
| | | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character) | ||||
* | Synch with trunk @ 24087 | Carmelo Amoroso | 2008-11-18 | 1 | -1/+1 |
| | | | | Step 10: libc_hidden_removal | ||||
* | Synch with trunk @ 24075. | Carmelo Amoroso | 2008-11-17 | 10 | -90/+102 |
| | | | | Step 7: libc/stdlib and malloc | ||||
* | Synch with trunk @ 24075. | Carmelo Amoroso | 2008-11-17 | 1 | -4/+4 |
| | | | | | Step 5 Various Makefile.in | ||||
* | Synch with trunk at rev 22997. | Carmelo Amoroso | 2008-07-31 | 4 | -8/+8 |
| | | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵ | Carmelo Amoroso | 2008-07-09 | 11 | -17/+26 |
| | | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | ||||
* | Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵ | Carmelo Amoroso | 2007-11-20 | 3 | -7/+14 |
| | | | | <carmelo.amoroso@st.com> | ||||
* | Merge from trunk. | "Steven J. Hill" | 2006-08-22 | 2 | -3/+2 |
| | |||||
* | Merge from trunk. Going pretty good so far. Kind of. Okay, not really. | "Steven J. Hill" | 2006-02-25 | 9 | -35/+40 |
| | |||||
* | Big fricking merge from trunk. | "Steven J. Hill" | 2006-01-07 | 6 | -5/+9 |
| | |||||
* | Merge from trunk. | "Steven J. Hill" | 2005-12-10 | 3 | -0/+7 |
| | |||||
* | Big merge from trunk. Stop the madness! | "Steven J. Hill" | 2005-12-06 | 3 | -9/+5 |
| | |||||
* | Merge from trunk. | "Steven J. Hill" | 2005-12-02 | 3 | -55/+10 |
| | |||||
* | Massive merge from trunk. | "Steven J. Hill" | 2005-11-17 | 1 | -3/+1 |
| | |||||
* | Copy from trunk. | "Steven J. Hill" | 2005-10-30 | 1 | -0/+42 |
| | |||||
* | merge parallel build support | Mike Frysinger | 2005-01-25 | 1 | -4/+4 |
| | |||||
* | The variable used to store pagesize is not the same as the | Eric Andersen | 2004-08-16 | 1 | -1/+2 |
| | | | | | _dl_pagesize variable in ldso, so avoid aliasing. -Erik | ||||
* | Fixup PAGE_SIZE problems | Eric Andersen | 2004-08-13 | 1 | -3/+2 |
| | | | | -Erik | ||||
* | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | 2004-07-15 | 1 | -1/+6 |
| | | | | Only use MAP_SHARED when mmu-less. | ||||
* | s/UCLIBC_HAS_MMU/ARCH_HAS_MMU/g | Eric Andersen | 2004-01-16 | 1 | -1/+1 |
| | |||||
* | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | 2003-12-30 | 2 | -2/+42 |
| | | | | | | | 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 | ||||
* | Fix a long-standing bug with pthreads. A couple of linuxthreads files | Manuel Novoa III | 2003-12-27 | 2 | -4/+4 |
| | | | | | | | | | | | | | | | | 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. | ||||
* | Peter Kjellerstedt writes: | Eric Andersen | 2003-10-18 | 1 | -1/+1 |
| | | | | | | | 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). | ||||
* | Code formatting cleanup. | Miles Bader | 2003-10-16 | 1 | -5/+6 |
| | |||||
* | Don't set errno if for zero SIZE returns. | Miles Bader | 2003-10-16 | 1 | -11/+14 |
| | | | | Code formatting cleanup. | ||||
* | More fiddling with static free-areas: make sure both their size _and_ | Miles Bader | 2003-09-22 | 1 | -5/+5 |
| | | | | their alignment are correct. | ||||
* | Make sure we don't allocate too little space for static free-areas | Miles Bader | 2003-09-19 | 1 | -1/+3 |
| | | | | because of our fiddling with alignment (because doing so is VERY BAD). | ||||
* | Add dependencies on header files. | Miles Bader | 2003-09-19 | 1 | -2/+5 |
| | |||||
* | Make sure static heaps are aligned correctly. | Miles Bader | 2003-09-17 | 1 | -9/+11 |
| | |||||
* | 'extern inline' doesn't work... Use 'static inline' | Eric Andersen | 2003-09-06 | 1 | -5/+5 |
| | |||||
* | add missing prototype | Eric Andersen | 2003-09-06 | 1 | -0/+2 |
| | |||||
* | Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c, | Eric Andersen | 2003-09-06 | 2 | -12/+24 |
| | | | | | which was reversed. Provide more consistancy between implementations. Handle it when people do stupid things like malloc(-1); | ||||
* | Add in a MALLOC_GLIBC_COMPAT option to let people decide if they | Eric Andersen | 2003-08-08 | 1 | -0/+5 |
| | | | | want glibc style malloc(0) behavior | ||||
* | (free_to_heap): Unlock the heap before returning in the | Miles Bader | 2003-04-02 | 1 | -2/+5 |
| | | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ case. Fix from YYang1@Winbond.com.tw. | ||||
* | Update malloc behavior on malloc(0) to be consistant with | Eric Andersen | 2003-01-23 | 1 | -2/+5 |
| | | | | malloc-930716 behavior, i.e. return a NULL. | ||||
* | Debugging tweaks. | Miles Bader | 2002-11-21 | 2 | -8/+12 |
| | |||||
* | Improve malloc debugging support. | Miles Bader | 2002-11-21 | 7 | -46/+186 |
| | |||||
* | Don't infinitely recurse when trying to grow __malloc_mmb_heap. | Miles Bader | 2002-10-18 | 1 | -18/+19 |
| | |||||
* | Fix malloc so it compiles and works when using pthreads | Eric Andersen | 2002-10-17 | 2 | -5/+5 |
| | | | | -Erik | ||||
* | Use __heap_[un]lock instead of __malloc_[un]lock. | Miles Bader | 2002-10-15 | 1 | -4/+4 |
| | |||||
* | Get rid of old malloc lock stuff. | Miles Bader | 2002-10-15 | 1 | -8/+0 |
| | |||||
* | Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined. | Miles Bader | 2002-10-15 | 2 | -34/+32 |
| | |||||
* | * Add support for uClinux's broken munmap, contingent on | Miles Bader | 2002-10-09 | 4 | -29/+264 |
| | | | | | | | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ (which is currently not defined anywhere). This makes other cases a tiny bit less efficient too. * Move the malloc lock into the heap structure (locking is still done at the malloc level though, not by the heap functions). * Initialize the malloc heap to contain a tiny initial static free-area so that programs that only do a very little allocation won't ever call mmap. | ||||
* | (__heap_check_failure): New function. | Miles Bader | 2002-09-13 | 1 | -16/+67 |
| | | | | (__heap_check): Add more checks. Use `__heap_check_failure'. | ||||
* | (realloc): Record the correct size in the malloc header in the case | Miles Bader | 2002-09-09 | 1 | -1/+1 |
| | | | | | where we extended the existing allocation, and got back more than we asked for from the heap. | ||||
* | Initial checkin. | Miles Bader | 2002-09-06 | 1 | -0/+86 |
| | |||||
* | Update debugging hooks. | Miles Bader | 2002-09-06 | 3 | -30/+20 |
| | |||||
* | (free): | Miles Bader | 2002-09-04 | 1 | -5/+5 |
| | | | | | Update debug statement. Update to use __heap_delete and __heap_is_empty. | ||||
* | (__heap_delete): Renamed from `__heap_unlink_free_area'. | Miles Bader | 2002-09-04 | 1 | -3/+6 |
| | | | | | (__heap_free_area_alloc): Use __heap_delete. (__heap_is_empty): New macro. |