Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-10-15 | Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined. | Miles Bader | |
2002-10-09 | * Add support for uClinux's broken munmap, contingent on | Miles Bader | |
__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. | |||
2002-09-26 | A bug fix from Alexey V. Neyman: | Eric Andersen | |
In case of vfork(), the parent was left with __exit_count of -1 and thus tried to find non-NULL value of __exit_function_table[-1].atexit, __exit_function_table[-2].atexit and call this function; of course, it leads to coredump. | |||
2002-09-19 | Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul | Manuel Novoa III | |
to __strchrnul, and add weak aliases for them. | |||
2002-09-13 | (__heap_check_failure): New function. | Miles Bader | |
(__heap_check): Add more checks. Use `__heap_check_failure'. | |||
2002-09-09 | Remove malloc_simple from subdir list. | Manuel Novoa III | |
2002-09-09 | (realloc): Record the correct size in the malloc header in the case | Miles Bader | |
where we extended the existing allocation, and got back more than we asked for from the heap. | |||
2002-09-06 | Add #include <malloc.h> to silence warning. | Manuel Novoa III | |
2002-09-06 | Initial checkin. | Miles Bader | |
2002-09-06 | Update debugging hooks. | Miles Bader | |
2002-09-05 | split-out memalign and realloc | Eric Andersen | |
-Erik | |||
2002-09-04 | Make sjhill happy, and revive memalign | Eric Andersen | |
-Erik | |||
2002-09-04 | Per discussions with Erik, 'valloc.c' should be built on top of whichever | "Steven J. Hill" | |
memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator. | |||
2002-09-04 | Added 'valloc' back in. Ok, Erik can smack me now. | "Steven J. Hill" | |
2002-09-04 | Added function 'mkdtemp' for Linux Test Project. | "Steven J. Hill" | |
2002-09-04 | (free): | Miles Bader | |
Update debug statement. Update to use __heap_delete and __heap_is_empty. | |||
2002-09-04 | (__heap_delete): Renamed from `__heap_unlink_free_area'. | Miles Bader | |
(__heap_free_area_alloc): Use __heap_delete. (__heap_is_empty): New macro. | |||
2002-08-30 | Doc fix. | Miles Bader | |
2002-08-30 | (__heap_free): Tighten up the inner loop, and make the code more readable. | Miles Bader | |
2002-08-30 | Use `likely' & `unlikely' instead of the `__malloc_'-prefixed versions. | Miles Bader | |
2002-08-30 | (likely, unlikely): New macros. | Miles Bader | |
2002-08-30 | (likely, unlikely): New macros. | Miles Bader | |
(__malloc_likely, __malloc_unlikely): Macros removed. | |||
2002-08-25 | Kill the HAS_LONG_LONG option. It really did not make a lot of | Eric Andersen | |
sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik | |||
2002-08-19 | Eliminate wrapping of struct stat and use the kernel version | Eric Andersen | |
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik | |||
2002-08-19 | (CSRC): Make contents source files, not object files. | Miles Bader | |
2002-08-19 | (CSRC): Add `memalign.c'. | Miles Bader | |
2002-08-19 | Initial checkin. | Miles Bader | |
2002-08-19 | (realloc): Follow new arg conventions of MALLOC_SET_SIZE. | Miles Bader | |
2002-08-19 | (malloc): Use MALLOC_SETUP. | Miles Bader | |
2002-08-19 | (MALLOC_SETUP): New macro. | Miles Bader | |
(MALLOC_SET_SIZE): Take the base-address of the block, not the user-address. (MALLOC_ADDR): Macro removed. | |||
2002-08-15 | Patch from Jarkko to fix drand48 to not use long long when | Eric Andersen | |
long long support is disabled in the uClibc Config. | |||
2002-08-14 | Use __malloc_unlikely instead of `likely'. | Miles Bader | |
2002-08-14 | Add flow-control hints with __malloc_likely and __malloc_unlikely. | Miles Bader | |
2002-08-14 | (__malloc_likely, __malloc_unlikely): New macros. | Miles Bader | |
2002-08-14 | Handle zero NEW_SIZE case. | Miles Bader | |
2002-08-13 | Use `return' for null pointers, to avoid a giant block holding the rest | Miles Bader | |
of the function. | |||
2002-08-12 | Doh! missed a spot. | Eric Andersen | |
-Erik | |||
2002-08-12 | Revert commit by davidm to printf.c that initialized conv_num | Manuel Novoa III | |
needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken. | |||
2002-08-12 | Geez I'm an idiot some times. I shouldn't code when I'm exhausted. | Eric Andersen | |
I _totally_ screwed up the locking on exit and atexit such that it didn't do any good at all. -Erik | |||
2002-08-09 | Add missing thread-safe locking. | Eric Andersen | |
-Erik | |||
2002-08-08 | Fix locking | Eric Andersen | |
2002-08-08 | Cleanup some silly warnings | Eric Andersen | |
2002-08-07 | Changed my mind. Keep this separate. | Eric Andersen | |
-Erik | |||
2002-08-07 | Rewrite getenv | Eric Andersen | |
2002-08-07 | Per suggestion from Miles Bader, move calloc.c to libc/stdlib. | Eric Andersen | |
Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik | |||
2002-08-06 | Unify calloc (its the same thing regardless of the underlying | Eric Andersen | |
malloc implementation). Fix problem reported to bugtraq about problems with integer overflow that can occur during the computation of the memory region size by calloc (and similar functions) which could result in a subsequent buffer overflow. -Erik | |||
2002-08-01 | Use MALLOC_REALLOC_MIN_FREE_SIZE. | Miles Bader | |
2002-08-01 | (MALLOC_REALLOC_MIN_FREE_SIZE): New macro. | Miles Bader | |
Enable debugging if MALLOC_DEBUGGING is defined. | |||
2002-08-01 | (HEAP_MIN_SIZE): New macro. | Miles Bader | |
(HEAP_MIN_FREE_AREA_SIZE): Increase size. Enable debugging if HEAP_DEBUGGING is defined. | |||
2002-07-31 | In the allocate-and-copy case, don't include the malloc header in our | Miles Bader | |
size calculations. |