summaryrefslogtreecommitdiffstats
path: root/libc/misc/internals
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Yield to yet another glibc-ism and add __prognameEric Andersen2003-06-301-0/+3
|
* Fixup handling of the .note.ABI-tag section so that it is ARM only,Eric Andersen2003-02-083-88/+1
| | | | | | and so it actually works as intended allowing binaries on ARM to be debugged. -Erik
* Making atexit weak does nothing for dynamicly linked apps. And forEric Andersen2003-01-231-3/+5
| | | | | | | | | | staticly linked apps it entirely prevents destructors from running unless atexit is called for some other reason. So if they enabled ctor/dtor support we need to have a call to the real atexit for dtors to work properly. If people don't want the extra 4k or so of junk in their static apps, they should leave ctor/dtor support disabled. -Erik
* Doh! As Stefan Allius points out, I forgot to properly reviewEric Andersen2002-11-211-1/+2
| | | | this change.
* Patch from Yoshinori Sato to update the h8300 architecture.Eric Andersen2002-11-211-0/+4
|
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-312-2/+2
| | | | | | | | | | | | | | | 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
* Fixup dependsEric Andersen2002-10-251-3/+3
|
* Doh. Add a missing #include to interp.c. I wonder why it used toEric Andersen2002-10-251-0/+1
| | | | | | work? Perhaps the wrapper bug miles fixed? Regardless this is very much needed. -Erik
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-011-56/+111
| | | | | | | how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
* Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-09-261-2/+4
| | | | -Erik
* Add a .note section to make gdb happyEric Andersen2002-08-193-1/+83
|
* Call the pthread setup junk early if possible.Eric Andersen2002-08-191-3/+10
|
* Shuffle things around a bit. Looks a little cleaner.Eric Andersen2002-08-081-56/+21
| | | | -Erik
* Cleanup the function pointer comparisionsEric Andersen2002-06-201-7/+7
| | | | -Erik
* Some commentaryEric Andersen2002-06-181-5/+4
| | | | -Erik
* Ah kant spel mi nameEric Andersen2002-06-171-1/+1
|
* New locale support (in development). Supports LC_CTYPE, LC_NUMERIC,Manuel Novoa III2002-05-061-0/+12
| | | | | | | | | | | | | | | | | | | | | | 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.
* Patch from Martin Proulx to not do ELFish things when not ELF.Eric Andersen2002-04-171-0/+2
|
* Patch from Martin Proulx to remove weak_aliases for non ELF compilers inEric Andersen2002-04-171-2/+2
| | | | | | __uClibc_main for the _stdio_init and _stdio_term functions. Since weak_aliases are defined as hard aliases for non ELF compilers, these 2 symbols ended up to be multiply defined, as those two are defined in stdio.c.
* Remove function declartions from include/features.h, createEric Andersen2002-04-012-0/+17
| | | | | a separate header file for those, and fixup references. -Erik
* Patches from Yoshinori Sato <qzb04471@nifty.ne.jp> to fix h8300Eric Andersen2002-04-011-0/+3
| | | | support for pthreads and update for the latest and greatest.
* Rework __gen_tempname() to better match glibc, and add mkstemp64(),Eric Andersen2002-03-311-42/+64
| | | | | which is needed for busybox ash when using largefile support. -Erik
* Fix non-elf support (in theory). Revert misguided change suggestedEric Andersen2002-03-151-28/+32
| | | | | by arcturusnetworks, since Miles Bader reports it is unnecessary. -Erik
* Don't call null ctors/dtors.Eric Andersen2002-03-141-2/+5
| | | | -Erik
* This should be the last piece needed to make constructors work (usingEric Andersen2002-03-141-26/+32
| | | | | | | a native gcc toolchain). The gcc wrapper still needs some touchups, but we seem to be _there_. Also some touchups to try and shrink uclinux binary sized by stubbing out unneeded stuff. -Erik
* Swap in the new stdio code.Manuel Novoa III2002-03-129-621/+33
|
* Proper support for setting h_errnoEric Andersen2002-02-263-2/+17
|
* Try this version instead...Eric Andersen2002-02-251-4/+7
|
* Miles Bader noticed that I'd messed up by always pullingEric Andersen2002-02-211-4/+2
| | | | | errno in, regardless of whether it is being used... -Erik
* This is a bit less messyEric Andersen2002-02-201-26/+11
|
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-205-17/+54
| | | | | | | | glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik
* Rename __stdio_close_all to __stdio_flush_buffers. Eliminate anEric Andersen2002-02-181-6/+4
| | | | unnecessary variable
* Make shared libs properly list the correct ld.so in the interpEric Andersen2002-02-181-3/+12
| | | | field by being sneaky.
* Support strong_alias and begin merging usage of weak_functionEric Andersen2002-02-181-9/+26
|
* Add in support for the Hitach H8/300H architecture,Eric Andersen2002-02-021-2/+2
| | | | contributed by Yoshinori Sato <qzb04471@nifty.ne.jp>
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-191-0/+1
|
* Patch from Miles Bader <miles@lsi.nec.co.jp> to support the v850.Eric Andersen2001-10-111-5/+5
| | | | He sent this patch to me a month ago, but I forgot to apply it...
* Make sure the weak aliases are defined before the functions/varsDavid McCullough2001-08-091-14/+14
| | | | | they use as stubs, otherwise, some compilers (ie., m68k-elf) tie them to the local symbols and the weak aliases do not work.
* These zero-length files apparently weren't deleted from cvs.Manuel Novoa III2001-07-012-0/+0
|
* Cleanup the toploevel makefile handing of shared libs. Add weak_aliasEric Andersen2001-06-121-3/+12
| | | | | | 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-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
* Update temp file handling and use a single function to do allEric Andersen2001-04-182-1/+188
| | | | | 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-061-1/+1
| | | | | | | 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
* stdio mostly rewritten... passes lots of tests now.Manuel Novoa III2001-02-271-15/+11
| | | | printf now supports long double, plus some bug fixes.
* For some reason the fancy attribute tags were not working on m68k soDavid McCullough2001-02-271-8/+4
| | | | | | | I followed environ example which uses asm and it seemed to fix the problem nicely. It should be ok on i386. Could some check it please :-)
* Make sure errno is 0 before we call main (may have been set while initializing).Manuel Novoa III2001-02-191-0/+10
|
* Create __uClibc_main to handle what can be done in C instead of each arch'sManuel Novoa III2001-02-192-1/+81
| | | | | | | 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.
* Added some notes. Removed some dead code.Manuel Novoa III2001-01-301-6/+6
|