summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-07-31You fool foolish. Goodbye level 2.Eric Andersen
2002-07-31Always build utils by defaultEric Andersen
-Erik
2002-07-31Account for MALLOC_HEADER_SIZE when calculating new size.Miles Bader
2002-07-31Use MALLOC_HEADER_SIZE.Miles Bader
2002-07-31(MALLOC_HEADER_SIZE): New macro.Miles Bader
(MALLOC_BASE, MALLOC_ADDR): Use it.
2002-07-30Make sure NEW_SIZE is a multiple of HEAP_GRANULARITY.Miles Bader
Calculate amount freed when shrinking correctly.
2002-07-30Update the size of grown/shrunk allocations.Miles Bader
MALLOC_SET_SIZE now takes the user-address rather than the base-address.
2002-07-30MALLOC_SET_SIZE now takes the user-address rather than the base-address.Miles Bader
2002-07-30Define MALLOC_SET_SIZE to take the user-address rather than the base-address.Miles Bader
2002-07-30Implement shrinking.Miles Bader
Fix bug when growing an allocation. Use new malloc header macros.
2002-07-30Use new malloc header macros.Miles Bader
2002-07-30Add macros to abstract the malloc header format a bit.Miles Bader
2002-07-27Avoid errors in case some loon has explicitly includedEric Andersen
linux/kernel.h (even though doing so is very dumb). -Erik
2002-07-27Oops. I accidentally omitted the actual mknod() function.Eric Andersen
-Erik
2002-07-26Ok, I get it. sjhill kept adding the 'find' command sinceEric Andersen
include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
2002-07-26Kill ill advised find command that was not doing anythingEric Andersen
productive, but did annoying things instead. -Erik
2002-07-26The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen
can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
2002-07-25Addition to 'distclean' for little endian MIPS."Steven J. Hill"
2002-07-25ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"
2002-07-25Cleanup from Neal Crook fixing some formatting and eliminatingEric Andersen
some "sh: cd: ./lib: No such file or directory" errors.
2002-07-25Kill cruft. Build ldd for the host system by default.Eric Andersen
-Erik
2002-07-25Implement syscall() for armEric Andersen
-Erik
2002-07-25Size tweaks.Miles Bader
2002-07-25Miscellaneous tidying-up.Miles Bader
2002-07-25Take advantage of the new syscall stuff on x86 and arm to killEric Andersen
the ldso specific syscalls and use the generic ones instead. -Erik
2002-07-25Redo the locking, so that it may actually work. Now locking is done atMiles 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-24Add support for people calling syscall()Eric Andersen
-Erik
2002-07-24Remove source files that, well, no longer exist :)."Steven J. Hill"
2002-07-24This rule is only necessary for little endian MIPS."Steven J. Hill"
2002-07-24Factor out some common code sequences into inline functions.Miles Bader
2002-07-24Misc small cleanups.Miles Bader
2002-07-24Remove, since it's entirely incorrectMiles Bader
2002-07-24(__ASMNAME): Use C_SYMBOL_PREFIX.Miles Bader
(__ASMNAME2): Macro removed.
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-22Add some syscalls which I moved out of syscalls.cEric Andersen
-Erik
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
2002-07-19Fix spellingEric Andersen
2002-07-19Doc fix.Miles Bader
2002-07-19Rename mutex stuff to use heap-specific names.Miles Bader
Doc fix.
2002-07-18Miles Bader implemented a new mmap based malloc which is muchEric 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-16Fix from "Gerhard Uttenthaler" <uttenthaler@ems-wuensche.com> soEric Andersen
that cfsetspeed would actually be compiled in.
2002-07-16We don't need the debug versionsEric Andersen
2002-07-16__morecore need not be a function pointerEric Andersen
2002-07-16Disable debug stuff by defaultEric Andersen
2002-07-16Odd. Got a copy of junk in here.Eric Andersen
2002-07-16Do not assume NULL termination on the ut_id field. ThanksEric Andersen
to mac12@po.cwru.edu for spotting this one.
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
2002-07-15stupid cut-n-paste bugEric Andersen
-Erik
2002-07-15Patch for a silly bug from David BlytheEric Andersen
2002-07-15Silence a couple of silly warningsEric Andersen
-Erik