Bernhard Reutner-Fischer
|
0be050c8b6
This should fix malloc with debug and without threads. (Chase N Douglas)
|
16 years ago |
Khem Raj
|
6494060312
Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old.
|
16 years ago |
Denis Vlasenko
|
380783acef
Introduce and use small[u]int type. Changes in size:
|
16 years ago |
Mike Frysinger
|
1db7c76a0c
fix up malloc debug building
|
17 years ago |
Mike Frysinger
|
c9210d3814
POSIX requires that errno be set whenever 0 is returned by malloc()
|
17 years ago |
Mike Frysinger
|
010301e968
tweak the idea between having a MMU and actually using it
|
19 years ago |
Peter S. Mazinger
|
af0172162f
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
|
19 years ago |
Peter S. Mazinger
|
68ab26b26b
__malloc_consolidate is only libc internal, enable use of __sbrk
|
19 years ago |
Peter S. Mazinger
|
77ccb5b1dc
mmap/mremap/socket/rewind gone
|
19 years ago |
Eric Andersen
|
921fde55c3
Use MAP_PRIVATE whenever __ARCH_HAS_MMU__ is set.
|
20 years ago |
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 |