Age | Commit message (Collapse) | Author | |
---|---|---|---|
2002-07-31 | (MALLOC_HEADER_SIZE): New macro. | Miles Bader | |
(MALLOC_BASE, MALLOC_ADDR): Use it. | |||
2002-07-30 | Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY. | Miles Bader | |
Calculate amount freed when shrinking correctly. | |||
2002-07-30 | Update the size of grown/shrunk allocations. | Miles Bader | |
MALLOC_SET_SIZE now takes the user-address rather than the base-address. | |||
2002-07-30 | MALLOC_SET_SIZE now takes the user-address rather than the base-address. | Miles Bader | |
2002-07-30 | Define MALLOC_SET_SIZE to take the user-address rather than the base-address. | Miles Bader | |
2002-07-30 | Implement shrinking. | Miles Bader | |
Fix bug when growing an allocation. Use new malloc header macros. | |||
2002-07-30 | Use new malloc header macros. | Miles Bader | |
2002-07-30 | Add macros to abstract the malloc header format a bit. | Miles Bader | |
2002-07-25 | Size tweaks. | Miles Bader | |
2002-07-25 | Miscellaneous tidying-up. | Miles Bader | |
2002-07-25 | Redo the locking, so that it may actually work. Now locking is done at | Miles 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-24 | Factor out some common code sequences into inline functions. | Miles Bader | |
2002-07-24 | Misc small cleanups. | Miles Bader | |
2002-07-24 | Remove, since it's entirely incorrect | Miles 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-19 | Doc fix. | Miles Bader | |
2002-07-19 | Rename mutex stuff to use heap-specific names. | Miles Bader | |
Doc fix. | |||
2002-07-18 | Miles Bader implemented a new mmap based malloc which is much | Eric 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-16 | We don't need the debug versions | Eric Andersen | |
2002-07-16 | __morecore need not be a function pointer | Eric Andersen | |
2002-07-16 | Disable debug stuff by default | Eric Andersen | |
2002-07-16 | Odd. Got a copy of junk in here. | Eric Andersen | |
2002-07-10 | Patch from Ronald Wahl <rwa@peppercon.com> to fix a memory leak | Eric Andersen | |
2002-07-03 | Enable WCHAR support for C/POSIX stub locales. | Manuel Novoa III | |
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support. | |||
2002-07-01 | This patch, from Ronald Wahl <rwa@peppercon.com>, fixes the | Eric Andersen | |
spots where I screwed up and forgot to fix realloc to use free_unlocked() instead of free(). Thanks Ronald! | |||
2002-06-18 | Rework, reduce the size, add proper locking | Eric Andersen | |
-Erik | |||
2002-06-18 | Remove obsolete files. | Manuel Novoa III | |
2002-06-18 | Silly name change | Eric Andersen | |
2002-06-18 | Rework and kill pointless static variable | Eric Andersen | |
-Erik | |||
2002-06-17 | Commit the new time stuff, even though I haven't made it threadsafe yet. | Manuel Novoa III | |
At least people can play with it. Also, fix a buglet in setenv.c. | |||
2002-06-10 | Kill the libc-lock headers, which we do not use and which are | Eric Andersen | |
not correct for uClibc. Fix setenv locking to behave itself. -Erik | |||
2002-06-01 | Doh! | Eric Andersen | |
2002-05-30 | Rework setenv, getenv and friends per the latest glibc code, but cleaned | Eric Andersen | |
up for readability. Merge in putenv. Add clearenv as a side effect. -Erik | |||
2002-05-23 | Multibyte and wide char conversion functions. Some work still to do, but | Manuel Novoa III | |
they're quite solid now and Erik needs them for the gcc port. Comments at the head of wchar.c. | |||
2002-05-12 | Revert Erik's previous patch and fix what I believe he was trying to, while | Manuel Novoa III | |
preserving the space-saving aliases. | |||
2002-05-12 | Several bugfixes for problems that showed up on alpha | Eric Andersen | |
-Erik | |||
2002-05-06 | New locale support (in development). Supports LC_CTYPE, LC_NUMERIC, | Manuel Novoa III | |
LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text. | |||
2002-04-01 | Remove function declartions from include/features.h, create | Eric Andersen | |
a separate header file for those, and fixup references. -Erik | |||
2002-03-31 | Rework __gen_tempname() to better match glibc, and add mkstemp64(), | Eric Andersen | |
which is needed for busybox ash when using largefile support. -Erik | |||
2002-03-20 | Fix compile problem when ASSUME_DEVPTS=false | Eric Andersen | |
getpt.c: In function 'getpt': getpt.c:83: 'have_no_dev_ptmx' undeclared ... oops. -Erik | |||
2002-03-19 | Merge glibc random, which gets us a much better RNG and a | Eric Andersen | |
reentrant one as well. It is not much bigger than what we had, so... -Erik | |||
2002-03-14 | Add implementations of strtof() and strtold(). These are a bit | Eric Andersen | |
lame, since internally I'm just using strtod, but that keeps things small, and has the side effect of making these easy to write. -Erik | |||
2002-03-13 | Merge in an ugly pile of rand* functions from glibc. :( | Eric Andersen | |
2002-03-13 | New versions of the various string to int functions which are smaller | Manuel Novoa III | |
than the old ones, even with errno setting turned on now. Also, at least on i386, we no longer need the long long helper functions for division and mod from libgcc.a. | |||
2002-03-13 | Oops... forgot to update abort.c. | Manuel Novoa III | |
2002-03-12 | Swap in the new stdio code. | Manuel Novoa III | |
2002-02-21 | When vfork is not available and we have an MMU, then use fork() | Eric Andersen | |
-Erik | |||
2002-02-19 | Doh! Miles Bader noticed a couple of spots where I forgot | Eric Andersen | |
to mark __stdio_flush_buffers with weak_function. Oops! | |||
2002-02-18 | Rename __stdio_close_all to __stdio_flush_buffers. Eliminate an | Eric Andersen | |
unnecessary variable | |||
2002-02-18 | Doh! | Eric Andersen | |