summaryrefslogtreecommitdiffstats
path: root/libc/stdlib/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* Remove TOPDIRPeter S. Mazinger2005-11-211-3/+1
|
* Replace all Makefiles for new build infrastucturePeter S. Mazinger2005-10-291-136/+7
|
* Rewrote almost all Makefiles: do not use strip $(x),y; run strip on all ↵Peter S. Mazinger2005-10-121-28/+19
| | | | objects at once; use :=//$</$^; use CRT_SRC/CRT_OBJ/SCRT_OBJ/CSRC/COBJ/SSRC/SOBJ/MSRC/MOBJ where no more is needed, if only CSRC is present use OBJS directly instead of COBJ; CTOR_TARGETS are created directly in lib; remove unused/unneeded parts. Hope I haven't broken too much.
* Add __cxa_atexit and __cxa_finalize, thanks to Stephen Warren. This patch ↵Peter S. Mazinger2005-09-261-3/+13
| | | | breaks compatibility with existing binaries, unless the new COMPAT_ATEXIT option is enabled.
* import a64l and l64a from glibcMike Frysinger2005-08-241-2/+3
|
* add the posix_memalign functionMike Frysinger2005-08-181-2/+2
|
* merge parallel build supportMike Frysinger2005-01-251-6/+4
|
* Add missing imaxdiv and lldiv needed for SuSv3. Adjust ldiv toEric Andersen2004-09-071-2/+2
| | | | match glibc's quotient truncation behavior.
* Rework malloc. The new default implementation is based on dlmalloc from DougEric Andersen2003-12-301-3/+6
| | | | | | | Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-1/+1
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
* mjn3 noticed we were missing seed48, which was odd since we hadEric Andersen2003-09-051-1/+2
| | | | all the other *48 random functions.
* Add a new *scanf implementation, includeing the *wscanf functions.Manuel Novoa III2003-08-011-5/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Should be standards compliant and with several optional features, including support for hexadecimal float notation, locale awareness, glibc-like locale-specific digit grouping with the `'' flag, and positional arg support. I tested it pretty well (finding several bugs in glibc's scanf in the process), but it is brand new so be aware. The *wprintf functions now support floating point output. Also, a couple of bugs were squashed. Finally, %a/%A conversions are now implemented. Implement the glibc xlocale interface for thread-specific locale support. Also add the various *_l(args, locale_t loc_arg) funcs. NOTE!!! setlocale() is NOT threadsafe! NOTE!!! The strto{floating point} conversion functions are now locale aware. The also now support hexadecimal floating point notation. Add the wcsto{floating point} conversion functions. Fix a bug in mktime() related to dst. Note that unlike glibc's mktime, uClibc's version always normalizes the struct tm before attempting to determine the correct dst setting if tm_isdst == -1 on entry. Add a stub version of the libintl functions. (untested) Fixed a known memory leak in setlocale() related to the collation data. Add lots of new config options (which Erik agreed to sort out :-), including finally exposing some of the stripped down stdio configs. Be careful with those though, as they haven't been tested in a long time. (temporary) GOTCHAs... The ctype functions are currently incorrect for 8-bit locales. They will be fixed shortly. The ctype functions are now table-based, resulting in larger staticly linked binaries. I'll be adding an option to use the old approach in the stub locale configuration.
* Thierry De Corte notices that when UCLIBC_HAS_FLOAT is disabled, we must alsoEric Andersen2003-04-231-5/+4
| | | | disable drand48, drand48_r, erand48, and erand48_r since they use floats.
* Ok... here's the summary:Manuel Novoa III2002-11-221-4/+7
| | | | | | | | | | | | | | Hopefully locale support will build when cross compiling now. Collation is still not supported, but that's what I'm currently working on. In the next couple of days, I'll probably put up a couple of files for download that will save people the trouble of generating all the glibc locales. Added *wprintf functions, although they currently don't support floating point. That will be fixed when I rewrite _dtostr... or possibly before. Added the wcsto{inttype} functions. Added iconv() and a mini iconv utility. The require locale support and only provide for conversions involving the various unicode encodings { UCS-4*, UCS-2*, UTF-32*, UTF-16*, UTF-8 }, the 8-bit codesets built with the locale data, and the internal WCHAR_T.
* Okay, fix for atof _correctly_...Manuel Novoa III2002-11-071-1/+4
|
* Apparently I forgot to build atof...Manuel Novoa III2002-11-071-1/+1
|
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-311-4/+10
| | | | | | | | | | | | | | | been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
* Remove malloc_simple from subdir list.Manuel Novoa III2002-09-091-1/+1
|
* Make sjhill happy, and revive memalignEric Andersen2002-09-041-7/+5
| | | | -Erik
* Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"2002-09-041-1/+2
| | | | | | | memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator.
* Added function 'mkdtemp' for Linux Test Project."Steven J. Hill"2002-09-041-1/+1
|
* Kill the HAS_LONG_LONG option. It really did not make a lot ofEric Andersen2002-08-251-4/+1
| | | | | | sense to exclude it, gcc always supports long long, and we never fully excluded long long anyways (off64_t for example). -Erik
* Per suggestion from Miles Bader, move calloc.c to libc/stdlib.Eric Andersen2002-08-071-6/+6
| | | | | | Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik
* Rework setenv, getenv and friends per the latest glibc code, but cleanedEric Andersen2002-05-301-3/+3
| | | | | up for readability. Merge in putenv. Add clearenv as a side effect. -Erik
* Multibyte and wide char conversion functions. Some work still to do, butManuel Novoa III2002-05-231-0/+6
| | | | | they're quite solid now and Erik needs them for the gcc port. Comments at the head of wchar.c.
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-061-2/+3
| | | | | | | | | | | | | | | | | | | | | | LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text.
* Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen2002-03-311-2/+2
| | | | | which is needed for busybox ash when using largefile support. -Erik
* Merge glibc random, which gets us a much better RNG and aEric Andersen2002-03-191-1/+1
| | | | | | reentrant one as well. It is not much bigger than what we had, so... -Erik
* Add implementations of strtof() and strtold(). These are a bitEric Andersen2002-03-141-1/+1
| | | | | | lame, since internally I'm just using strtod, but that keeps things small, and has the side effect of making these easy to write. -Erik
* Merge in an ugly pile of rand* functions from glibc. :(Eric Andersen2002-03-131-2/+5
|
* New versions of the various string to int functions which are smallerManuel Novoa III2002-03-131-14/+6
| | | | | | than the old ones, even with errno setting turned on now. Also, at least on i386, we no longer need the long long helper functions for division and mod from libgcc.a.
* A number of naming updates in preparation for adding inEric Andersen2002-02-131-1/+1
| | | | | proper threading. Most of this is from Stefan Soucek, with additions and changes as needed from me.
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Add in gcvt()Eric Andersen2001-09-291-1/+1
|
* atoi, atol, atoll, and atof are supposed to be functions, not macros.Eric Andersen2001-08-241-2/+2
| | | | -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-121-2/+1
| | | | | | | | | 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
* 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-081-1/+2
| | | | | | | | 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
* Add in random(), make rand use that under the hood. Fix theEric Andersen2001-03-221-1/+1
| | | | include file so folks know random is now there.
* div and ldiv are required for ISO 9899Eric Andersen2001-02-221-1/+1
| | | | -Erik
* Clean up atexit.c; make sure sysconf and atexit agree; link in ref'd libgcc.aManuel Novoa III2001-01-251-1/+4
| | | | objects with shared uClibc; allow disabling long long support.
* Clean all subdirs on 'make clean'Eric Andersen2001-01-161-2/+3
|
* A large update from Manuel Novoa III <mnovoa3@bellsouth.net>.Eric Andersen2001-01-111-3/+3
|
* 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-011-1/+8
| | | | | 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-201-2/+4
|
* Fix doc blunder.Eric Andersen2000-11-041-4/+4
|
* Make spelling of uClibc be consistant.Eric Andersen2000-11-041-1/+1
|
* _start.c is a failed experiment. Go back to using asm...Eric Andersen2000-10-281-1/+2
|