summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
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
2002-09-26A bug fix from Alexey V. Neyman:Eric Andersen
In case of vfork(), the parent was left with __exit_count of -1 and thus tried to find non-NULL value of __exit_function_table[-1].atexit, __exit_function_table[-2].atexit and call this function; of course, it leads to coredump.
2002-09-23Cosmetic cleanup.Tobias Anderberg
2002-09-23Removed redundant code. Same thing exist in sys/syscalls.h so include thatTobias Anderberg
instead.
2002-09-20Build libpthread now that the CRIS as support for it!Tobias Anderberg
2002-09-20* Added clone() system call.Tobias Anderberg
* Proper implementation of bits/syscalls.h, no cheating by just including <asm/unistd.h>. * Proper implementation of syscall.S, it no longer contains the __syscall_error, instead it contains code which makes syscall(nr,...) a system call. * Added sysdep.S which contains the code for __syscall_error. * Added some macros to sysdep.h. * Added sys/procfs.h, which is needed when compiling with thread support. * Removed unused syscall-cris.c.
2002-09-20Added pthread support for CRIS.Tobias Anderberg
2002-09-20Removed unused fileTobias Anderberg
2002-09-19Add gnu obstack support. I still need to implement the obstack_printfManuel Novoa III
and obstack_vprintf, but at least now the reiserfsprogs build.
2002-09-19Add SUSv3 function getsubopt.Manuel Novoa III
2002-09-19Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III
to __strchrnul, and add weak aliases for them.
2002-09-19* Changed paramater names to match their register, i.e. __a -> __r10.Tobias Anderberg
* Do not clobber things that are specified as outputs.
2002-09-17Fixup thread support for the 5200/5307 coldfire platforms.David McCullough
2002-09-17Add in clone and make the assembler PIC/msep-data friendly.David McCullough
2002-09-17Fixup JMPBUF_UNWINDS so that is will compile if used :-)David McCullough
2002-09-17Fix a memory corruption bug.David McCullough
With gcc, sizeof on a sized array argument to a function returns 4, not 16 as was expected in this code. This caused inet_ntoa to overwrite whatever came before the buffer in the BSS by up to 12 bytes.
2002-09-16Add urlEric Andersen
2002-09-16Update indexEric Andersen
2002-09-16Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide ifEric Andersen
64 bit interfaces should be used. -Erik
2002-09-16* Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.mapTobias Anderberg
exists read it and include it when linking. * Add LIBGCC when linking libc.
2002-09-16* Updated for the CRIS port.Tobias Anderberg
* Added variable LIBGCC which is included when linking libc.so. Arch specific linker options go into LIBGCC_CFLAGS defined in Config.<arch>.
2002-09-16Configuration for the CRIS port.Tobias Anderberg
2002-09-16Updated for the CRIS port.Tobias Anderberg
2002-09-16Initial version of the dynamic linker code for the CRIS port.Tobias Anderberg
2002-09-16Added cris to ALL_SUBDIRSTobias Anderberg
2002-09-16Initial version of the CRIS port.Tobias Anderberg
2002-09-16Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>Eric Andersen
2002-09-14Fix a thinko -- I used the wrong symbol to check for LFS support.Eric Andersen
-Erik
2002-09-13(__heap_check_failure): New function.Miles Bader
(__heap_check): Add more checks. Use `__heap_check_failure'.
2002-09-12Support LD_DEBUG=allTobias Anderberg
2002-09-12Some minor C++ support updatesEric Andersen
2002-09-12Add missing _dl_dprintf arguments, as noticed by Tero Lyytik�inen ↵Eric Andersen
<tero@paravant.fi>
2002-09-11Forgot one more #ifdef related to MIPS soft floating point."Steven J. Hill"
2002-09-10Don't run floating point opcodes when code is compiled -msoft-floatEric Andersen
-Erik
2002-09-10Don't unconditionally save/restore FP registers, we might be doing soft"Steven J. Hill"
floating point. Thanks to Jay Carlson.