summaryrefslogtreecommitdiffstats
path: root/libc/stdlib
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix prototypeEric Andersen2001-09-291-2/+2
|
* Add in gcvt()Eric Andersen2001-09-292-1/+12
|
* Update to accomodate the header file changesEric Andersen2001-09-279-8/+10
|
* "Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen2001-08-301-1/+1
| | | | | | | | | | | | | In the libc/stdlib/bsd_getpt.c file you have line: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) - 1); It really should be: memcpy (buf, _PATH_PTY, sizeof (_PATH_PTY) ); The last nul character must be copied too because the next line uses strlen() to get buf's length.
* atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen2001-08-244-3/+35
| | | | -Erik
* Fix a couple of warningsDavid McCullough2001-08-091-2/+2
|
* Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen2001-06-122-2/+5
| | | | | | define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
* Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III2001-05-281-1/+1
| | | | | from libm float function support. Also, move all Config files out of the main directory.
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-124-8/+4
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* A patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOCEric Andersen2001-05-112-1/+12
| | | | | so that it works for realloc too. -Erik
* Fix up the 'make clean' targetEric Andersen2001-05-111-1/+1
|
* Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen2001-05-088-1/+694
| | | | | | | | port. I have reworked the code quite a bit so that the stuff that is supposed to be in libc is in libc, and I added a bunch of missing stuff so the libutil interface matches that of glibc's libutil. The only caveat is that libutil/login.c is currently a stub. -Erik
* As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen2001-04-272-2/+2
| | | | | srand was in the wrong file, causing rand.o to be needlessly included in some cases.
* 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