Miles Bader
|
0a8bcf917a
Don't set errno if for zero SIZE returns.
|
21 years ago |
Eric Andersen
|
cd34085f2c
Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,
|
21 years ago |
Eric Andersen
|
a4ba059034
Add in a MALLOC_GLIBC_COMPAT option to let people decide if they
|
21 years ago |
Eric Andersen
|
a018fc5564
Update malloc behavior on malloc(0) to be consistant with
|
22 years ago |
Miles Bader
|
4d952dfe77
Improve malloc debugging support.
|
22 years ago |
Miles Bader
|
08d4be6799
Don't infinitely recurse when trying to grow __malloc_mmb_heap.
|
22 years ago |
Miles Bader
|
6882d43363
Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.
|
22 years ago |
Miles Bader
|
306eedf9ae
* Add support for uClinux's broken munmap, contingent on
|
22 years ago |
Miles Bader
|
73f88c8f7e
Update debugging hooks.
|
22 years ago |
Miles Bader
|
505ca20e32
Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions.
|
22 years ago |
Miles Bader
|
bdc62ea2b8
(malloc): Use MALLOC_SETUP.
|
22 years ago |
Miles Bader
|
1c0f265241
Add flow-control hints with __malloc_likely and __malloc_unlikely.
|
22 years ago |
Miles Bader
|
dfa6a5382a
Update debugging printfs.
|
22 years ago |
Miles Bader
|
def04f26ab
Use MALLOC_HEADER_SIZE.
|
22 years ago |
Miles Bader
|
906ffafd8b
MALLOC_SET_SIZE now takes the user-address rather than the base-address.
|
22 years ago |
Miles Bader
|
a3483a6eb0
Use new malloc header macros.
|
22 years ago |
Miles Bader
|
c5568de190
Size tweaks.
|
22 years ago |
Miles Bader
|
5446f4e74f
Miscellaneous tidying-up.
|
22 years ago |
Miles Bader
|
056f9d9894
Redo the locking, so that it may actually work. Now locking is done at
|
22 years ago |
Miles Bader
|
a4214b2491
Misc small cleanups.
|
22 years ago |
Miles Bader
|
83cef9f931
* Automatically try to unmap heap free-areas when they get very big.
|
22 years ago |
Miles Bader
|
3bbbba11f7
Doc fix.
|
22 years ago |
Eric Andersen
|
35d29fcb08
Miles Bader implemented a new mmap based malloc which is much
|
22 years ago |
Eric Andersen
|
f24155cd29
Minor cleanup
|
23 years ago |
Eric Andersen
|
2512c84745
Update to accomodate the header file changes
|
23 years ago |
Eric Andersen
|
e2f6ebd3f2
Fix up breakage resulting from flipping the sense of some defines. Change from
|
23 years ago |
Eric Andersen
|
2109636071
Update to "malloc" so it will work on CPUs not supporting non-aligned words.
|
24 years ago |
Eric Andersen
|
eafdf1b819
Reduce dependancies -- don't use sysconf() internal to libc.
|
24 years ago |
Eric Andersen
|
6c7a9c98a3
"I will always compile before I commit."
|
24 years ago |
Eric Andersen
|
ddaf940958
Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.
|
24 years ago |