Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Overwriting the crt1.o link is fine | Eric Andersen | 2002-10-25 | 1 | -1/+1 | |
| | ||||||
* | Be nicer to gcc -- add a link for crt1.o | Eric Andersen | 2002-10-25 | 1 | -0/+1 | |
| | ||||||
* | When UNIX98PTY_ONLY was false, but Unix 98 ptys were in fact working and | Eric Andersen | 2002-10-22 | 1 | -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 | |||||
* | This patch, based on a patch from Stefan Allius, lets us pick an | Eric Andersen | 2002-10-18 | 1 | -2/+2 | |
| | | | | | | appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik | |||||
* | Don't infinitely recurse when trying to grow __malloc_mmb_heap. | Miles Bader | 2002-10-18 | 1 | -18/+19 | |
| | ||||||
* | Fix malloc so it compiles and works when using pthreads | Eric Andersen | 2002-10-17 | 2 | -5/+5 | |
| | | | | -Erik | |||||
* | Use __heap_[un]lock instead of __malloc_[un]lock. | Miles Bader | 2002-10-15 | 1 | -4/+4 | |
| | ||||||
* | Get rid of old malloc lock stuff. | Miles Bader | 2002-10-15 | 1 | -8/+0 | |
| | ||||||
* | Fix locking to not deadlock when __UCLIBC_UCLINUX_BROKEN_MUNMAP__ is defined. | Miles Bader | 2002-10-15 | 2 | -34/+32 | |
| | ||||||
* | Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplement | Eric Andersen | 2002-10-14 | 1 | -2/+2 | |
| | | | | | | 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 in | Eric Andersen | 2002-10-13 | 1 | -1/+1 | |
| | | | | | | | | 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 hex | Eric Andersen | 2002-10-09 | 2 | -2/+2 | |
| | ||||||
* | Support O_STREAMING | Eric Andersen | 2002-10-09 | 12 | -0/+12 | |
| | ||||||
* | * Add support for uClinux's broken munmap, contingent on | Miles Bader | 2002-10-09 | 4 | -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. | |||||
* | Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 for | Eric Andersen | 2002-10-01 | 1 | -14/+12 | |
| | | | | mips where I had made a mess | |||||
* | Patch from Stefan Allius <allius@atecom.com>: | Eric Andersen | 2002-10-01 | 1 | -2/+1 | |
| | | | | 'wcschrnul.o' appeares two times in MOBJW2 | |||||
* | Patch from Stefan Allius <allius@atecom.com>: | Eric Andersen | 2002-10-01 | 4 | -8/+8 | |
| | | | | | | | | | | | | | | | | | | | ----------------------------------- 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 change | Eric Andersen | 2002-10-01 | 6 | -107/+185 | |
| | | | | | | | 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. | |||||
* | Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__ | Eric Andersen | 2002-09-26 | 2 | -5/+7 | |
| | | | | -Erik | |||||
* | A bug fix from Alexey V. Neyman: | Eric Andersen | 2002-09-26 | 1 | -2/+2 | |
| | | | | | | | 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. | |||||
* | Cosmetic cleanup. | Tobias Anderberg | 2002-09-23 | 6 | -28/+32 | |
| | ||||||
* | * Added clone() system call. | Tobias Anderberg | 2002-09-20 | 8 | -65/+493 | |
| | | | | | | | | | | | | * 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. | |||||
* | Removed unused file | Tobias Anderberg | 2002-09-20 | 1 | -4/+0 | |
| | ||||||
* | Add gnu obstack support. I still need to implement the obstack_printf | Manuel Novoa III | 2002-09-19 | 3 | -1/+671 | |
| | | | | and obstack_vprintf, but at least now the reiserfsprogs build. | |||||
* | Add SUSv3 function getsubopt. | Manuel Novoa III | 2002-09-19 | 2 | -1/+73 | |
| | ||||||
* | Hide my personal #warning reminders. Add __wcschrnul, rename strchrnul | Manuel Novoa III | 2002-09-19 | 6 | -6/+29 | |
| | | | | to __strchrnul, and add weak aliases for them. | |||||
* | Add in clone and make the assembler PIC/msep-data friendly. | David McCullough | 2002-09-17 | 1 | -6/+16 | |
| | ||||||
* | Fixup JMPBUF_UNWINDS so that is will compile if used :-) | David McCullough | 2002-09-17 | 1 | -1/+1 | |
| | ||||||
* | Fix a memory corruption bug. | David McCullough | 2002-09-17 | 1 | -3/+6 | |
| | | | | | | 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. | |||||
* | Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide if | Eric Andersen | 2002-09-16 | 1 | -2/+3 | |
| | | | | | 64 bit interfaces should be used. -Erik | |||||
* | * Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.map | Tobias Anderberg | 2002-09-16 | 1 | -2/+8 | |
| | | | | | exists read it and include it when linking. * Add LIBGCC when linking libc. | |||||
* | Added cris to ALL_SUBDIRS | Tobias Anderberg | 2002-09-16 | 1 | -1/+1 | |
| | ||||||
* | Initial version of the CRIS port. | Tobias Anderberg | 2002-09-16 | 27 | -0/+1634 | |
| | ||||||
* | Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com> | Eric Andersen | 2002-09-16 | 1 | -1/+1 | |
| | ||||||
* | Fix a thinko -- I used the wrong symbol to check for LFS support. | Eric Andersen | 2002-09-14 | 1 | -1/+1 | |
| | | | | -Erik | |||||
* | (__heap_check_failure): New function. | Miles Bader | 2002-09-13 | 1 | -16/+67 | |
| | | | | (__heap_check): Add more checks. Use `__heap_check_failure'. | |||||
* | Forgot one more #ifdef related to MIPS soft floating point. | "Steven J. Hill" | 2002-09-11 | 1 | -0/+2 | |
| | ||||||
* | Don't run floating point opcodes when code is compiled -msoft-float | Eric Andersen | 2002-09-10 | 2 | -2/+2 | |
| | | | | -Erik | |||||
* | Don't unconditionally save/restore FP registers, we might be doing soft | "Steven J. Hill" | 2002-09-10 | 2 | -0/+4 | |
| | | | | floating point. Thanks to Jay Carlson. | |||||
* | Fix some locking problems noted by Manuel. __getgrent() was always | Eric Andersen | 2002-09-10 | 6 | -21/+32 | |
| | | | | | called under lock, but the callers did not share the same locks... -Erik | |||||
* | Patch from Tiago Marques <tmarques@viaconnect.inf.br> -- fall back to | Eric Andersen | 2002-09-10 | 1 | -3/+12 | |
| | | | | | using SOCK_STREAM if SOCK_DGRAM fails. -Erik | |||||
* | As noted by Bill Huang <billhuang@redsonic.com>, the gid and uid | Eric Andersen | 2002-09-10 | 1 | -1/+2 | |
| | | | | | were reversed in putpwent(). Oops. -Erik | |||||
* | Remove malloc_simple from subdir list. | Manuel Novoa III | 2002-09-09 | 1 | -1/+1 | |
| | ||||||
* | Fixed compile bugs having to do with 64-bit filesystem operations that | "Steven J. Hill" | 2002-09-09 | 2 | -0/+13 | |
| | | | | need to be disabled when 'DOLFS' is disabled. | |||||
* | (realloc): Record the correct size in the malloc header in the case | Miles Bader | 2002-09-09 | 1 | -1/+1 | |
| | | | | | where we extended the existing allocation, and got back more than we asked for from the heap. | |||||
* | Patch from Tero_Lyytik�inen <tero@paravant.fi> to fix bug in matchchar | Manuel Novoa III | 2002-09-06 | 1 | -0/+4 | |
| | | | | case. | |||||
* | Add #include <malloc.h> to silence warning. | Manuel Novoa III | 2002-09-06 | 1 | -0/+1 | |
| | ||||||
* | Initial checkin. | Miles Bader | 2002-09-06 | 1 | -0/+86 | |
| | ||||||
* | Update debugging hooks. | Miles Bader | 2002-09-06 | 3 | -30/+20 | |
| | ||||||
* | split-out memalign and realloc | Eric Andersen | 2002-09-05 | 5 | -192/+261 | |
| | | | | -Erik |