summaryrefslogtreecommitdiff
path: root/libc/stdlib
AgeCommit message (Collapse)Author
2001-09-29Fix prototypeEric Andersen
2001-09-29Add in gcvt()Eric Andersen
2001-09-27Update to accomodate the header file changesEric Andersen
2001-08-30"Kim B. Heino" <Kim.Heino@bluegiga.com> reportsEric Andersen
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.
2001-08-24atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen
-Erik
2001-08-09Fix a couple of warningsDavid McCullough
2001-06-12Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen
define, and set things up so nasty old coff toolchains can now compile things and should actually work again. -Erik
2001-05-28Make selection of uClibc floating point support in printf, etc. seperateManuel Novoa III
from libm float function support. Also, move all Config files out of the main directory.
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
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
2001-05-11A patch from Matthias Kilian <kili@outback.escape.de> to fix -DDEBUG_MALLOCEric Andersen
so that it works for realloc too. -Erik
2001-05-11Fix up the 'make clean' targetEric Andersen
2001-05-08Add in libutil, based on Cory Visi's variant of Michael Shmulevich's libutilEric Andersen
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
2001-04-27As noted by Michiel Thuys <michiel.thuys@intersil.com>, the weak alias forEric Andersen
srand was in the wrong file, causing rand.o to be needlessly included in some cases.
2001-04-27Patch from Tom Walsh <tom@cyberiansoftware.com> to fix a thinkoEric Andersen
on my patch.
2001-04-25Be more strict with the malloc implementation. Return NULLEric Andersen
when folks do a malloc(0) using malloc-simple. -Erik
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