Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | trim Experimentally off and uncommented hidden | Austin Foxley | 2009-09-18 | 1 | -2/+0 |
| | | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com> | ||||
* | Synch with trunk @ 24165 | Carmelo Amoroso | 2008-11-27 | 1 | -2/+2 |
| | | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character) | ||||
* | Synch with trunk @ 24075. | Carmelo Amoroso | 2008-11-17 | 1 | -12/+27 |
| | | | | Step 7: libc/stdlib and malloc | ||||
* | BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵ | Carmelo Amoroso | 2008-07-09 | 1 | -1/+1 |
| | | | | 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 | 1 | -2/+2 |
| | | | | <carmelo.amoroso@st.com> | ||||
* | Merge from trunk. Going pretty good so far. Kind of. Okay, not really. | "Steven J. Hill" | 2006-02-25 | 1 | -4/+4 |
| | |||||
* | Big fricking merge from trunk. | "Steven J. Hill" | 2006-01-07 | 1 | -0/+1 |
| | |||||
* | Merge from trunk. | "Steven J. Hill" | 2005-12-10 | 1 | -0/+2 |
| | |||||
* | Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set. | Eric Andersen | 2004-07-15 | 1 | -1/+6 |
| | | | | Only use MAP_SHARED when mmu-less. | ||||
* | Don't set errno if for zero SIZE returns. | Miles Bader | 2003-10-16 | 1 | -11/+14 |
| | | | | Code formatting cleanup. | ||||
* | Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c, | Eric Andersen | 2003-09-06 | 1 | -6/+18 |
| | | | | | 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 | ||||
* | 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. | ||||
* | Improve malloc debugging support. | Miles Bader | 2002-11-21 | 1 | -12/+19 |
| | |||||
* | Don't infinitely recurse when trying to grow __malloc_mmb_heap. | Miles Bader | 2002-10-18 | 1 | -18/+19 |
| | |||||
* | Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined. | Miles Bader | 2002-10-15 | 1 | -29/+22 |
| | |||||
* | * Add support for uClinux's broken munmap, contingent on | Miles Bader | 2002-10-09 | 1 | -18/+68 |
| | | | | | | | | | __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. | ||||
* | Update debugging hooks. | Miles Bader | 2002-09-06 | 1 | -0/+4 |
| | |||||
* | Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions. | Miles Bader | 2002-08-30 | 1 | -4/+4 |
| | |||||
* | (malloc): Use MALLOC_SETUP. | Miles Bader | 2002-08-19 | 1 | -3/+2 |
| | |||||
* | Add flow-control hints with __malloc_likely and __malloc_unlikely. | Miles Bader | 2002-08-14 | 1 | -5/+7 |
| | |||||
* | Update debugging printfs. | Miles Bader | 2002-07-31 | 1 | -1/+1 |
| | |||||
* | Use MALLOC_HEADER_SIZE. | Miles Bader | 2002-07-31 | 1 | -1/+1 |
| | |||||
* | MALLOC_SET_SIZE now takes the user-address rather than the base-address. | Miles Bader | 2002-07-30 | 1 | -2/+1 |
| | |||||
* | Use new malloc header macros. | Miles Bader | 2002-07-30 | 1 | -3/+4 |
| | |||||
* | Size tweaks. | Miles Bader | 2002-07-25 | 1 | -3/+4 |
| | |||||
* | Miscellaneous tidying-up. | Miles Bader | 2002-07-25 | 1 | -1/+1 |
| | |||||
* | Redo the locking, so that it may actually work. Now locking is done at | Miles Bader | 2002-07-25 | 1 | -8/+41 |
| | | | | | | | | | the malloc/free level, not within the heap abstraction, and there's a separate lock to control sbrk access. Also, get rid of the separate `unmap_free_area' function in free.c, and just put the code in the `free' function directly, which saves a bunch of space (even compared to using an inline function) for some reason. | ||||
* | Misc small cleanups. | Miles Bader | 2002-07-24 | 1 | -1/+2 |
| | |||||
* | * Automatically try to unmap heap free-areas when they get very big. | Miles Bader | 2002-07-23 | 1 | -60/+50 |
| | | | | | | | | * Instead of using mmap/munmap directly for large allocations, just use the heap for everything (this is reasonable now that heap memory can be unmapped). * Use sbrk instead of mmap/munmap on systems with an MMU. | ||||
* | Doc fix. | Miles Bader | 2002-07-19 | 1 | -1/+1 |
| | |||||
* | Miles Bader implemented a new mmap based malloc which is much | Eric Andersen | 2002-07-18 | 1 | -867/+94 |
| | | | | | | | smarter than the old "malloc-simple", and actually works, unlike the old "malloc". So kill the old "malloc-simple" and the old "malloc" and replace them with Miles' new malloc implementation. Update Config files to match. Thanks Miles! | ||||
* | Minor cleanup | Eric Andersen | 2001-09-29 | 1 | -1/+2 |
| | |||||
* | Update to accomodate the header file changes | Eric Andersen | 2001-09-27 | 1 | -1/+1 |
| | |||||
* | Fix up breakage resulting from flipping the sense of some defines. Change from | Eric Andersen | 2001-03-19 | 1 | -9/+10 |
| | | | | | | | | defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik | ||||
* | Update to "malloc" so it will work on CPUs not supporting non-aligned words. | Eric Andersen | 2001-02-21 | 1 | -7/+35 |
| | | | | malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard | ||||
* | Reduce dependancies -- don't use sysconf() internal to libc. | Eric Andersen | 2001-01-15 | 1 | -38/+0 |
| | |||||
* | "I will always compile before I commit." | Eric Andersen | 2001-01-12 | 1 | -2/+2 |
| | | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik | ||||
* | Patch from James Graves <jgraves@deltamobile.com> to better handle m68k. | Eric Andersen | 2001-01-12 | 1 | -2/+13 |
| | | | | | | Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik | ||||
* | Manuel Novoa III modified malloc.c and avlmacro.h to reduce code size by | Eric Andersen | 2001-01-12 | 1 | -534/+642 |
| | | | | | using functions instead on Inlining (size vas speed tradeoff). I ran the results through indent. Looking pretty good IMHO. | ||||
* | A bunch of updates, part from Manuel Novoa III (such as more long long | Eric Andersen | 2001-01-01 | 1 | -2/+2 |
| | | | | | support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu. | ||||
* | More cleanups. Fix things so tinylogin compiles. | Eric Andersen | 2000-11-04 | 1 | -2/+1 |
| | | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>. | ||||
* | Screwed up non-mmu support. #define was backwards. | Eric Andersen | 2000-10-12 | 1 | -3/+2 |
| | | | | -Erik | ||||
* | Finish reorganizing things. At least I think I've finished. | Eric Andersen | 2000-10-11 | 1 | -1/+7 |
| | |||||
* | New malloc routines. | Eric Andersen | 2000-10-08 | 1 | -0/+765 |