summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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"
2002-10-01Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 forEric Andersen
mips where I had made a mess
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
'wcschrnul.o' appeares two times in MOBJW2
2002-10-01Patch from Stefan Allius <allius@atecom.com>:Eric Andersen
----------------------------------- In extra/Configs/Config.sh I added the INCLUDE_PTHREADS statement and change the default values for BUILD_UCLIBC_LDSO and HAVE_SHARED. ----------------------------------- In extra/scripts/initfini.pl My last patch removes two labels, which migth be used by the .size statements. (Sorry, but I'm a perl beginner) I fixed it. ----------------------------------- In libc/sysdeps/linux/common/initfini.c I fixed two warnings "nested extern declaration of `i_am_not_a_leaf.. ----------------------------------- In libc/sysdeps/linux/sh/__init_brl.c brk.c sbrk.c I fixed some compiler warnings which comes from a wrong inclusion order. -----------------------------------
2002-10-01This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen
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.
2002-10-01Sigh. OpenBSD used /usr/bin/{true|false}Eric Andersen
2002-09-26Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-09-26A few additionsEric Andersen