summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Implemented 'romfs' target so that uClibc works with building uClinux."Steven J. Hill"2002-10-081-1/+12
|
* Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 forEric Andersen2002-10-011-14/+12
| | | | mips where I had made a mess
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-011-2/+1
| | | | 'wcschrnul.o' appeares two times in MOBJW2
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-016-15/+16
| | | | | | | | | | | | | | | | | | | ----------------------------------- 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. -----------------------------------
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-0121-192/+317
| | | | | | | 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.
* Sigh. OpenBSD used /usr/bin/{true|false}Eric Andersen2002-10-014-5/+5
|
* Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-09-262-5/+7
| | | | -Erik
* A few additionsEric Andersen2002-09-261-0/+19
|