summaryrefslogtreecommitdiff
path: root/libc/stdlib
AgeCommit message (Collapse)Author
2001-04-25Be more strict with the glibc style malloc implementation. Return NULLEric Andersen
when folks do a malloc(0) using malloc-930716.
2001-04-18Update temp file handling and use a single function to do allEric Andersen
the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
2001-04-06Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen
This required we use _LIBC instead of __LIBC__ to be consistent with glibc. This had some sideffects in sys/syscalls.h. While fixing things, I made everything use __set_errno() for (eventual) thread support. -Erik
2001-03-22Add in random(), make rand use that under the hood. Fix theEric Andersen
include file so folks know random is now there.
2001-03-19Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen
defining things to "0" in the disabled case to outright undefining them, lest code that does an "#ifdef FOO" get inadvertantly triggered. Remove now unneeded lines from Rules.mak which makes the command line smaller and avoids redundancy (since this stuff is now pulled in via features.h). -Erik
2001-02-22div and ldiv are required for ISO 9899Eric Andersen
-Erik
2001-02-21Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen
malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
2001-02-19Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III
respective crt0.S. crt0.S should now only be responsible for setting things up to call __uClibc_main(argc, argv, envp), which will do any other necessary setup (setting global __environ, stdio init, etc), call main, and exit. This should ease both maintainance and porting.
2001-02-13Use MAP_FAILED.Eric Andersen
2001-02-09Use __environ instead of the GNU extension environ.Eric Andersen
-Erik
2001-02-09Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen
we don't blow up by using too much stack space, and simplifies the job of supporting new architectures, since they don't have to mess with calling foo init functions in crt0 and cleaning up the resulting damage. -Erik
2001-02-08Fix the ordering of the args to the compare function.Manuel Novoa III
2001-01-25Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III
objects with shared uClibc; allow disabling long long support.
2001-01-17Note about need to match _SC_ATEXIT_MAX. Minor macro name change.Manuel Novoa III
2001-01-17UnDOSified file and added assert when debugging.Manuel Novoa III
2001-01-16Clean all subdirs on 'make clean'Eric Andersen
2001-01-15Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen
2001-01-12"I will always compile before I commit."Eric Andersen
"I will always compile before I commit." "I will always compile before I commit." -Erik
2001-01-12Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen
Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
2001-01-12Update makefile to match the new malloc codeEric Andersen
2001-01-12Manuel Novoa III modified malloc.c and avlmacro.h to reduce code size byEric Andersen
using functions instead on Inlining (size vas speed tradeoff). I ran the results through indent. Looking pretty good IMHO.
2001-01-11A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen
2001-01-02Patch from James Graves <jgraves@deltamobile.com> to getEric Andersen
m68k started. Should be just sysdeps/linux/m68k left to hack at this point...
2001-01-01A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen
support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
2000-12-20A number of updates from Manuel Novoa III. Things look good...Eric Andersen
2000-11-11Fix up a few messes so it compiles cleanly again.Eric Andersen
2000-11-04Fix doc blunder.Eric Andersen
2000-11-04Make spelling of uClibc be consistant.Eric Andersen
2000-11-04More cleanups. Fix things so tinylogin compiles.Eric Andersen
Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
2000-10-28_start.c is a failed experiment. Go back to using asm...Eric Andersen
2000-10-27More random fixes and additions.Eric Andersen
2000-10-26Add some more stuff -- {get|set}mntent, getline, getdelim, etc.Eric Andersen
2000-10-20Strip all object files of all non global symbols and .note andEric Andersen
.comment, saving a lot of space in the resultant binaries... -Erik
2000-10-17Bypass problem with signals for the moment...Eric Andersen
2000-10-12Screwed up non-mmu support. #define was backwards.Eric Andersen
-Erik
2000-10-11Finish reorganizing things. At least I think I've finished.Eric Andersen
2000-10-09Bug ugly formatting updateEric Andersen
2000-10-08New malloc routines.Eric Andersen
2000-10-07Formatting updateEric Andersen
2000-10-07Remove obsolete file. Fix dependancy.Eric Andersen
2000-10-07Warning cleanupEric Andersen
2000-10-04Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen
-Erik
2000-10-04This is making far too much sense.Eric Andersen
2000-10-04Sanity fix.Eric Andersen
2000-08-11Yet more updates. Getting closer....Eric Andersen
-Erik
2000-07-09Add in a bunch of junk. Busybox now compiles (except for mkfs.minix andEric Andersen
fsck.minix). Of course, it doesn't link yet due to missing functions, but hey... At least it is now easy to see what isn't working. :-) -Erik
2000-07-06More stuff I forgot to commit.Eric Andersen
-Erik
2000-07-06Lots and lots of cleanups.Eric Andersen
-Erik
2000-07-05Many bugfixes, header cleanups, etc. Added abort and glob.Eric Andersen
It is getting closer... -Erik
2000-06-29Fix up the makefiles. malloc-simple/Makefile forgot to include realloc.Eric Andersen
test/Makefile used a hard coded absolute path (bad, bad, bad). -Erik