summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-10-31Allow 'make clean' on the test stuff to work with the new config system.Eric Andersen
-Erik
2002-10-31Don't force gcc 3.2 on the worldEric Andersen
-Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
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
2002-10-31Ignore generated stuffEric Andersen
2002-10-31Add a simple realloc testEric Andersen
-Erik
2002-10-31Fixup script to avoid potential spurious whining over empty object files.Eric Andersen
-Erik
2002-10-30Use '#ifdef __linux__' not '#ifdef linux'Eric Andersen
2002-10-30Use a nifty macro to make testing gcc features simplerEric Andersen
and easier to read. -Erik
2002-10-29Fix a couple of 'restrict' bugs in mbstowcs and wcstombs.Manuel Novoa III
2002-10-29Fix a silly typo for ManuelEric Andersen
-Erik
2002-10-29For now, comment out the broken partEric Andersen
2002-10-29Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen
Stefan Allius <allius@atecom.com>, which does a better job.
2002-10-29A patch from Arne Jonsson <arne.jonsson@i3micro.com>:Eric Andersen
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.
2002-10-29Add in a horrible hack that seems necessary for the HitachiEric Andersen
SH processors to work properly. -Erik
2002-10-29Fix a problem in vasprintf (reported by vodz a while back) when builtManuel Novoa III
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.
2002-10-28ANSI/ISO C99 requires assert() to write to stderr. This means thatManuel Novoa III
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.
2002-10-28Allow timezone info to be specified in a file... /etc/TZ. Turned on byManuel Novoa III
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.
2002-10-28Define TOPDIR to be just `.' when invoking gen_bits_syscall_h.sh, sinceMiles Bader
we've already chdir'ed to $(TOPDIR).
2002-10-28Add appropriate -I options so that any files included by unistd.h areMiles Bader
found correctly. Tweak the whitespace of the generated file.
2002-10-25Fixup dependsEric Andersen
2002-10-25Put it back the way it was. Sigh.Eric Andersen
2002-10-25Sigh. Lets not use LD to link, or we lose the INTERP field.Eric Andersen
-Erik
2002-10-25Doh. Add a missing #include to interp.c. I wonder why it used toEric Andersen
work? Perhaps the wrapper bug miles fixed? Regardless this is very much needed. -Erik
2002-10-25Overwriting the crt1.o link is fineEric Andersen
2002-10-25Be nicer to gcc -- add a link for crt1.oEric Andersen
2002-10-25Actually install libdl.aEric Andersen
-Erik
2002-10-23A patch from Arne Jonsson <arne.jonsson@i3micro.com> to allowEric Andersen
uClibc's libpthread to run on linux 2.0.x kernels which lack poll() and therefore must use select() instead.
2002-10-23Make `-nostdlib' and `-nodefaultlibs' work correctly.Miles Bader
2002-10-22When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working andEric Andersen
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
2002-10-21Update freeswan entry, per success report from Arne BerninEric Andersen
2002-10-18This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen
appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
2002-10-18Echo mmu-less warning where appropriateEric Andersen
2002-10-18Add in an initial list of the differences between glibc and uClibc.Eric Andersen
This is not complete, but covers some of the main points. -Erik
2002-10-18Don't infinitely recurse when trying to grow __malloc_mmb_heap.Miles Bader
2002-10-17Add a test from Alex King <alex@morrison.king.net.nz> whichEric Andersen
shows a failure in ptsname when ASSUME_DEVPTS=false -Erik
2002-10-17Fix malloc so it compiles and works when using pthreadsEric Andersen
-Erik
2002-10-16Remove -fuclibc-ctorsEric Andersen
2002-10-16Kill a warning. Patch from Joel Coltoff <joel@wmi.com>Eric Andersen
2002-10-15Fixed 'dlopen' call for MIPS. Things seem to work swimingly. Woohoo!"Steven J. Hill"
2002-10-15(uClibc_config): Define __UCLIBC_UCLINUX_BROKEN_MUNMAP__ for MMU-less systems.Miles Bader
2002-10-15Use __heap_[un]lock instead of __malloc_[un]lock.Miles Bader
2002-10-15Get rid of old malloc lock stuff.Miles Bader
2002-10-15Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined.Miles Bader
2002-10-14Kill the now redundant initfini.plEric Andersen
-Erik
2002-10-14Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen
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.
2002-10-13It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen
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
2002-10-09Octal to hexEric Andersen
2002-10-09Support O_STREAMINGEric Andersen
2002-10-09* Add support for uClinux's broken munmap, contingent onMiles Bader
__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.
2002-10-08Implemented 'romfs' target so that uClibc works with building uClinux."Steven J. Hill"