Denis Vlasenko
|
125773133f
Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL block
|
16 lat temu |
Mike Frysinger
|
086ca312f1
fix from Bernd Schmidt for realloc shrinkage bug
|
17 lat temu |
Mike Frysinger
|
1db7c76a0c
fix up malloc debug building
|
17 lat temu |
Mike Frysinger
|
31ff6e059f
check for a 0 size first, then check for a NULL pointer
|
18 lat temu |
Peter S. Mazinger
|
af0172162f
hidden_def/hidden_proto: convert all users (I hope) termios split, add some missing headers, other jump relocs removed
|
19 lat temu |
Peter S. Mazinger
|
8a0b43005a
Hide mostly used functions
|
19 lat temu |
Miles Bader
|
3e6ccac195
Code formatting cleanup.
|
21 lat temu |
Eric Andersen
|
cd34085f2c
Fix errno values. Fix MALLOC_GLIBC_COMPAT handling in malloc/malloc.c,
|
21 lat temu |
Miles Bader
|
4d952dfe77
Improve malloc debugging support.
|
22 lat temu |
Eric Andersen
|
db7c5027f4
Fix malloc so it compiles and works when using pthreads
|
22 lat temu |
Miles Bader
|
c5daf7d8dc
Use __heap_[un]lock instead of __malloc_[un]lock.
|
22 lat temu |
Miles Bader
|
5752e10795
(realloc): Record the correct size in the malloc header in the case
|
22 lat temu |
Miles Bader
|
b348111d8c
(realloc): Follow new arg conventions of MALLOC_SET_SIZE.
|
22 lat temu |
Miles Bader
|
cb6fdcff80
Handle zero NEW_SIZE case.
|
22 lat temu |
Miles Bader
|
b1723348b5
Use MALLOC_REALLOC_MIN_FREE_SIZE.
|
22 lat temu |
Miles Bader
|
3d909b2123
In the allocate-and-copy case, don't include the malloc header in our
|
22 lat temu |
Miles Bader
|
dfa6a5382a
Update debugging printfs.
|
22 lat temu |
Miles Bader
|
73900d95a7
Account for MALLOC_HEADER_SIZE when calculating new size.
|
22 lat temu |
Miles Bader
|
2fbc5f2c9c
Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.
|
22 lat temu |
Miles Bader
|
9f86edc4a9
Update the size of grown/shrunk allocations.
|
22 lat temu |
Miles Bader
|
8ff1de76b6
Implement shrinking.
|
22 lat temu |
Miles Bader
|
056f9d9894
Redo the locking, so that it may actually work. Now locking is done at
|
22 lat temu |
Miles Bader
|
a4214b2491
Misc small cleanups.
|
22 lat temu |
Miles Bader
|
83cef9f931
* Automatically try to unmap heap free-areas when they get very big.
|
22 lat temu |
Miles Bader
|
3bbbba11f7
Doc fix.
|
22 lat temu |
Eric Andersen
|
35d29fcb08
Miles Bader implemented a new mmap based malloc which is much
|
22 lat temu |