summaryrefslogtreecommitdiffstats
path: root/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinkoEric Andersen2001-04-271-1/+2
| | | | on my patch.
* Be more strict with the malloc implementation. Return NULLEric Andersen2001-04-251-5/+10
| | | | | when folks do a malloc(0) using malloc-simple. -Erik
* Be more strict with the glibc style malloc implementation. Return NULLEric Andersen2001-04-251-2/+2
| | | | when folks do a malloc(0) using malloc-930716.
* Update temp file handling and use a single function to do allEric Andersen2001-04-182-71/+51
| | | | | the heavy lifting (most of the heavy lifting stolen from glibc, but reduced a bit).
* Fix include/errno.h to not use kernel header, and instead use bits/errno.h.Eric Andersen2001-04-068-17/+17
| | | | | | | 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
* Add in random(), make rand use that under the hood. Fix theEric Andersen2001-03-223-57/+58
| | | | include file so folks know random is now there.
* Fix up breakage resulting from flipping the sense of some defines. Change fromEric Andersen2001-03-192-12/+14
| | | | | | | | 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
* div and ldiv are required for ISO 9899Eric Andersen2001-02-223-1/+67
| | | | -Erik
* Update to "malloc" so it will work on CPUs not supporting non-aligned words.Eric Andersen2001-02-211-7/+35
| | | | malloc still only works for little-endian CPUs... Patch by Jean-Yves Avenard
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-192-18/+31
| | | | | | | 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.
* Use MAP_FAILED.Eric Andersen2001-02-131-1/+1
|
* Use __environ instead of the GNU extension environ.Eric Andersen2001-02-093-18/+13
| | | | -Erik
* Revert stdio to initializing itself. Not quite a pretty but that ensures thatEric Andersen2001-02-091-3/+0
| | | | | | | 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
* Fix the ordering of the args to the compare function.Manuel Novoa III2001-02-081-3/+3
|
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-252-33/+21
| | | | objects with shared uClibc; allow disabling long long support.
* Note about need to match _SC_ATEXIT_MAX. Minor macro name change.Manuel Novoa III2001-01-171-4/+9
|
* UnDOSified file and added assert when debugging.Manuel Novoa III2001-01-171-72/+71
|
* Clean all subdirs on 'make clean'Eric Andersen2001-01-161-2/+3
|
* Reduce dependancies -- don't use sysconf() internal to libc.Eric Andersen2001-01-151-38/+0
|
* "I will always compile before I commit."Eric Andersen2001-01-121-2/+2
| | | | | | "I will always compile before I commit." "I will always compile before I commit." -Erik
* Patch from James Graves <jgraves@deltamobile.com> to better handle m68k.Eric Andersen2001-01-122-4/+17
| | | | | | Also fixes 2 very important malloc bugs! Anyone using malloc (esp mmu-less) should update and recompile. -Erik
* Update makefile to match the new malloc codeEric Andersen2001-01-121-6/+8
|
* Manuel Novoa III modified malloc.c and avlmacro.h to reduce code size byEric Andersen2001-01-123-610/+731
| | | | | using functions instead on Inlining (size vas speed tradeoff). I ran the results through indent. Looking pretty good IMHO.
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-1116-213/+1020
|
* Patch from James Graves <jgraves@deltamobile.com> to getEric Andersen2001-01-021-2/+5
| | | | | m68k started. Should be just sysdeps/linux/m68k left to hack at this point...
* A bunch of updates, part from Manuel Novoa III (such as more long longEric Andersen2001-01-016-9/+206
| | | | | support), and other updates by me (better cross platform, cross-compiler, etc, support. Now compiles with 2.0.x kernels for armnommu.
* A number of updates from Manuel Novoa III. Things look good...Eric Andersen2000-12-203-68/+442
|
* Fix up a few messes so it compiles cleanly again.Eric Andersen2000-11-113-0/+3
|
* Fix doc blunder.Eric Andersen2000-11-043-12/+12
|
* Make spelling of uClibc be consistant.Eric Andersen2000-11-044-4/+4
|
* More cleanups. Fix things so tinylogin compiles.Eric Andersen2000-11-041-2/+1
| | | | Fix a bug in getdelim -- patch from David Whedon <dwhedon@gordian.com>.
* _start.c is a failed experiment. Go back to using asm...Eric Andersen2000-10-281-1/+2
|
* More random fixes and additions.Eric Andersen2000-10-271-1/+1
|
* Add some more stuff -- {get|set}mntent, getline, getdelim, etc.Eric Andersen2000-10-261-58/+126
|
* Strip all object files of all non global symbols and .note andEric Andersen2000-10-203-2/+14
| | | | | .comment, saving a lot of space in the resultant binaries... -Erik
* Bypass problem with signals for the moment...Eric Andersen2000-10-171-0/+2
|
* Screwed up non-mmu support. #define was backwards.Eric Andersen2000-10-124-6/+5
| | | | -Erik
* Finish reorganizing things. At least I think I've finished.Eric Andersen2000-10-116-12/+46
|
* Bug ugly formatting updateEric Andersen2000-10-0919-503/+736
|
* New malloc routines.Eric Andersen2000-10-085-216/+1019
|
* Formatting updateEric Andersen2000-10-071-19/+17
|
* Remove obsolete file. Fix dependancy.Eric Andersen2000-10-071-3/+0
|
* Warning cleanupEric Andersen2000-10-071-3/+4
|
* Fix all the makefiles. Clean up some warnings, cleanup some headers.Eric Andersen2000-10-042-26/+56
| | | | -Erik
* This is making far too much sense.Eric Andersen2000-10-041-1/+0
|
* Sanity fix.Eric Andersen2000-10-041-7/+5
|
* Yet more updates. Getting closer....Eric Andersen2000-08-111-37/+20
| | | | -Erik
* Add in a bunch of junk. Busybox now compiles (except for mkfs.minix andEric Andersen2000-07-092-1/+169
| | | | | | 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
* More stuff I forgot to commit.Eric Andersen2000-07-061-1/+2
| | | | -Erik
* Lots and lots of cleanups.Eric Andersen2000-07-068-14/+16
| | | | -Erik