summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a lingering reference to ConfigEric Andersen2002-10-311-1/+1
| | | | -Erik
* Allow 'make clean' on the test stuff to work with the new config system.Eric Andersen2002-10-312-2/+2
| | | | -Erik
* Don't force gcc 3.2 on the worldEric Andersen2002-10-311-1/+1
| | | | -Erik
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-31109-518/+19093
| | | | | | | | | | | | | | | 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
* Ignore generated stuffEric Andersen2002-10-311-0/+3
|
* Add a simple realloc testEric Andersen2002-10-312-0/+40
| | | | -Erik
* Fixup script to avoid potential spurious whining over empty object files.Eric Andersen2002-10-311-6/+9
| | | | -Erik
* Use '#ifdef __linux__' not '#ifdef linux'Eric Andersen2002-10-301-3/+3
|
* Use a nifty macro to make testing gcc features simplerEric Andersen2002-10-301-11/+12
| | | | | and easier to read. -Erik
* Fix a couple of 'restrict' bugs in mbstowcs and wcstombs.Manuel Novoa III2002-10-291-3/+10
|
* Fix a silly typo for ManuelEric Andersen2002-10-291-1/+1
| | | | -Erik
* For now, comment out the broken partEric Andersen2002-10-291-6/+6
|
* Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen2002-10-292-11/+16
| | | | Stefan Allius <allius@atecom.com>, which does a better job.
* A patch from Arne Jonsson <arne.jonsson@i3micro.com>:Eric Andersen2002-10-291-16/+22
| | | | | | | | Attached are the changes we think is necessary in order to use user defined stacksizes for each thread. When testing I forgot to lower the PTHREAD_STACK_MIN to the lowest value used for the stacks, this caused stranged reboots. As said before, we are using uClinux 2.0.38 on a ARM7TDMI.
* Add in a horrible hack that seems necessary for the HitachiEric Andersen2002-10-291-0/+10
| | | | | SH processors to work properly. -Erik
* Fix a problem in vasprintf (reported by vodz a while back) when builtManuel Novoa III2002-10-291-14/+35
| | | | | | without custom stream support. In that case, it is necessary to do a va_copy. Note: The affected code is not built in the stock config. Also, make sure each va_copy has a matching va_end, as required by C99.
* ANSI/ISO C99 requires assert() to write to stderr. This means thatManuel Novoa III2002-10-281-0/+35
| | | | | | | | writing to STDERR_FILENO is insufficient, as the user could freopen stderr. It is also insufficient to output to fileno(stderr) since this would fail in the custom stream case. I didn't remove the old code though, as it doesn't use stdio stream functionality and is useful in debugging the stdio code.
* Allow timezone info to be specified in a file... /etc/TZ. Turned on byManuel Novoa III2002-10-281-3/+132
| | | | | | | | | | | | | | default for now. From the comments... * Defining __TIME_TZ_FILE causes tzset() to attempt to read the TZ value * from the file /etc/TZ if the TZ env variable isn't set. The file contents * must be the intended value of TZ, followed by a newline. No other chars, * spacing, etc is allowed. As an example, an easy way for me to init * /etc/TZ appropriately would be: echo CST6CDT > /etc/TZ Also optimized timezone setting when the timezone string hasn't changed, as well as fixed a minor buglet wrt SUSv3-allowed chars in TZ std and dst fields.
* Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, sinceMiles Bader2002-10-281-1/+1
| | | | we've already chdir'ed to $(TOPDIR).
* Add appropriate -I options so that any files included by unistd.h areMiles Bader2002-10-281-3/+6
| | | | | found correctly. Tweak the whitespace of the generated file.
* Fixup dependsEric Andersen2002-10-251-3/+3
|
* Put it back the way it was. Sigh.Eric Andersen2002-10-251-3/+3
|
* Sigh. Lets not use LD to link, or we lose the INTERP field.Eric Andersen2002-10-251-3/+3
| | | | -Erik
* 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
* Overwriting the crt1.o link is fineEric Andersen2002-10-251-1/+1
|
* Be nicer to gcc -- add a link for crt1.oEric Andersen2002-10-251-0/+1
|
* Actually install libdl.aEric Andersen2002-10-251-3/+3
| | | | -Erik
* A patch from Arne Jonsson <arne.jonsson@i3micro.com> to allowEric Andersen2002-10-231-2/+66
| | | | | uClibc's libpthread to run on linux 2.0.x kernels which lack poll() and therefore must use select() instead.
* Make `-nostdlib' and `-nodefaultlibs' work correctly.Miles Bader2002-10-231-6/+7
|
* When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working andEric Andersen2002-10-221-7/+9
| | | | | | | functional, everything would succeed but then we would return a failure due to a silly logic bug. This patch fixes it so things will work correctly regardless of the UNIX98PTY_ONLY setting. -Erik
* Update freeswan entry, per success report from Arne BerninEric Andersen2002-10-211-2/+2
|
* This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen2002-10-182-2/+5
| | | | | | appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
* Echo mmu-less warning where appropriateEric Andersen2002-10-181-3/+3
|
* Add in an initial list of the differences between glibc and uClibc.Eric Andersen2002-10-181-0/+56
| | | | | This is not complete, but covers some of the main points. -Erik
* Don't infinitely recurse when trying to grow __malloc_mmb_heap.Miles Bader2002-10-181-18/+19
|
* Add a test from Alex King <alex@morrison.king.net.nz> whichEric Andersen2002-10-173-0/+34
| | | | | shows a failure in ptsname when ASSUME_DEVPTS=false -Erik
* Fix malloc so it compiles and works when using pthreadsEric Andersen2002-10-172-5/+5
| | | | -Erik
* Remove -fuclibc-ctorsEric Andersen2002-10-161-1/+0
|
* Kill a warning. Patch from Joel Coltoff <joel@wmi.com>Eric Andersen2002-10-162-0/+8
|
* Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"2002-10-152-0/+18
|
* (uClibc_config): Define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ for MMU-less systems.Miles Bader2002-10-151-0/+4
|
* Use __heap_[un]lock instead of __malloc_[un]lock.Miles Bader2002-10-151-4/+4
|
* Get rid of old malloc lock stuff.Miles Bader2002-10-151-8/+0
|
* Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.Miles Bader2002-10-152-34/+32
|
* Kill the now redundant initfini.plEric Andersen2002-10-141-156/+0
| | | | -Erik
* Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen2002-10-142-2/+79
| | | | | | my little initfini.pl script in awk. This eliminates uClibc's compile-time dependancy on perl, and lets us use the much lighter weight awk, which facilitates building uClibc standalone environments.
* It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen2002-10-133-4/+4
| | | | | | | | a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
* Octal to hexEric Andersen2002-10-092-2/+2
|
* Support O_STREAMINGEric Andersen2002-10-0912-0/+12
|
* * Add support for uClinux's broken munmap, contingent onMiles Bader2002-10-094-29/+264
| | | | | | | | | __UCLIBC_UCLINUX_BROKEN_MUNMAP__ (which is currently not defined anywhere). This makes other cases a tiny bit less efficient too. * Move the malloc lock into the heap structure (locking is still done at the malloc level though, not by the heap functions). * Initialize the malloc heap to contain a tiny initial static free-area so that programs that only do a very little allocation won't ever call mmap.