summaryrefslogtreecommitdiff
path: root/libc/stdlib/malloc
AgeCommit message (Collapse)Author
2002-07-30Implement shrinking.Miles Bader
Fix bug when growing an allocation. Use new malloc header macros.
2002-07-30Use new malloc header macros.Miles Bader
2002-07-30Add macros to abstract the malloc header format a bit.Miles Bader
2002-07-25Size tweaks.Miles Bader
2002-07-25Miscellaneous tidying-up.Miles Bader
2002-07-25Redo the locking, so that it may actually work. Now locking is done atMiles Bader
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.
2002-07-24Factor out some common code sequences into inline functions.Miles Bader
2002-07-24Misc small cleanups.Miles Bader
2002-07-24Remove, since it's entirely incorrectMiles Bader
2002-07-23* Automatically try to unmap heap free-areas when they get very big.Miles Bader
* 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.
2002-07-19Doc fix.Miles Bader
2002-07-19Rename mutex stuff to use heap-specific names.Miles Bader
Doc fix.
2002-07-18Miles Bader implemented a new mmap based malloc which is muchEric Andersen
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!
2002-07-16We don't need the debug versionsEric Andersen
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-09-29Minor cleanupEric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
2001-05-11A patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOCEric Andersen
so that it works for realloc too. -Erik
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
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
2001-02-21Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
2001-01-15Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen
2001-01-12"I will always compile before I commit."Eric Andersen
"I will always compile before I commit." "I will always compile before I commit." -Erik
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2001-01-12Update makefile to match the new malloc codeEric Andersen
2001-01-12Manuel Novoa III modified malloc.c and avlmacro.h to reduce code size byEric Andersen
using functions instead on Inlining (size vas speed tradeoff). I ran the results through indent. Looking pretty good IMHO.
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2001-01-01A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen
support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-20Strip all object files of all non global symbols and .note andEric Andersen
.comment, saving a lot of space in the resultant binaries... -Erik
2000-10-12Screwed up non-mmu support. #define was backwards.Eric Andersen
-Erik
2000-10-11Finish reorganizing things. At least I think I've finished.Eric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-08New malloc routines.Eric Andersen
2000-10-07Warning cleanupEric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-10-04Sanity fix.Eric Andersen
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-06-29Fix up the makefiles. malloc-simple/Makefile forgot to include realloc.Eric Andersen
test/Makefile used a hard coded absolute path (bad, bad, bad). -Erik
2000-06-15Implimented a simple allocation system that does not waste memory.Ron Alder
Added realloc. The allocation system was needed to support realloc.
2000-06-13Fixed the parameters to mmap in malloc.Ron Alder
malloc now works, but wastes alot of memory with the minimum amount of memory used for each allocation being 4k.
2000-05-15Finished porting stuff to x86 and supporting the Linux 2.2 kernels.Erik Andersen
It now compiles.... -Erik
2000-05-14Some makefile updates to make it behave a bit better/consistently.Erik Andersen
-Erik
2000-05-14Patch from "D. Jeff Dionne / VE3DJF" <jeff@rt-control.com>Erik Andersen
to allow uC-libc to compile under x86. -Erik
2000-05-14Initial revisionErik Andersen