summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Stefan Allius <allius@atecom.com>:Eric Andersen2002-10-014-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 changeEric Andersen2002-10-016-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 Andersen2002-09-262-5/+7
| | | | -Erik
* A bug fix from Alexey V. Neyman:Eric Andersen2002-09-261-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 Anderberg2002-09-236-28/+32
|
* * Added clone() system call.Tobias Anderberg2002-09-208-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 fileTobias Anderberg2002-09-201-4/+0
|
* Add gnu obstack support. I still need to implement the obstack_printfManuel Novoa III2002-09-193-1/+671
| | | | and obstack_vprintf, but at least now the reiserfsprogs build.
* Add SUSv3 function getsubopt.Manuel Novoa III2002-09-192-1/+73
|
* Hide my personal #warning reminders. Add __wcschrnul, rename strchrnulManuel Novoa III2002-09-196-6/+29
| | | | to __strchrnul, and add weak aliases for them.
* Add in clone and make the assembler PIC/msep-data friendly.David McCullough2002-09-171-6/+16
|
* Fixup JMPBUF_UNWINDS so that is will compile if used :-)David McCullough2002-09-171-1/+1
|
* Fix a memory corruption bug.David McCullough2002-09-171-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 ifEric Andersen2002-09-161-2/+3
| | | | | 64 bit interfaces should be used. -Erik
* * Added semi-support for version scripts. If sysdeps/linux/<arch>/libc.mapTobias Anderberg2002-09-161-2/+8
| | | | | exists read it and include it when linking. * Add LIBGCC when linking libc.
* Added cris to ALL_SUBDIRSTobias Anderberg2002-09-161-1/+1
|
* Initial version of the CRIS port.Tobias Anderberg2002-09-1627-0/+1634
|
* Fix stupid typo noticed by John Mullin <john.mullin@homenetcomm.com>Eric Andersen2002-09-161-1/+1
|
* Fix a thinko -- I used the wrong symbol to check for LFS support.Eric Andersen2002-09-141-1/+1
| | | | -Erik
* (__heap_check_failure): New function.Miles Bader2002-09-131-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-111-0/+2
|
* Don't run floating point opcodes when code is compiled -msoft-floatEric Andersen2002-09-102-2/+2
| | | | -Erik
* Don't unconditionally save/restore FP registers, we might be doing soft"Steven J. Hill"2002-09-102-0/+4
| | | | floating point. Thanks to Jay Carlson.
* Fix some locking problems noted by Manuel. __getgrent() was alwaysEric Andersen2002-09-106-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 toEric Andersen2002-09-101-3/+12
| | | | | using SOCK_STREAM if SOCK_DGRAM fails. -Erik
* As noted by Bill Huang <billhuang@redsonic.com>, the gid and uidEric Andersen2002-09-101-1/+2
| | | | | were reversed in putpwent(). Oops. -Erik
* Remove malloc_simple from subdir list.Manuel Novoa III2002-09-091-1/+1
|
* Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"2002-09-092-0/+13
| | | | need to be disabled when 'DOLFS' is disabled.
* (realloc): Record the correct size in the malloc header in the caseMiles Bader2002-09-091-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 matchcharManuel Novoa III2002-09-061-0/+4
| | | | case.
* Add #include <malloc.h> to silence warning.Manuel Novoa III2002-09-061-0/+1
|
* Initial checkin.Miles Bader2002-09-061-0/+86
|
* Update debugging hooks.Miles Bader2002-09-063-30/+20
|
* split-out memalign and reallocEric Andersen2002-09-055-192/+261
| | | | -Erik
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-0532-59/+59
|
* 'syscall' now properly works for MIPS."Steven J. Hill"2002-09-043-46/+56
|
* Make sjhill happy, and revive memalignEric Andersen2002-09-044-39/+69
| | | | -Erik
* Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"2002-09-042-3/+3
| | | | | | Test Project to compile as well as be consistent with the architecture specific files. Maybe eventually the architecture specific files could be removed all together.
* Per discussions with Erik, 'valloc.c' should be built on top of whichever"Steven J. Hill"2002-09-043-2/+3
| | | | | | | memory allocator you choose. Unfortunately, the 'malloc-930716' needs a fair amount of work before it is functional. For now, changes have been made to add the 'valloc' call and it works properly with the plain 'malloc' allocator.
* Added 'valloc' back in. Ok, Erik can smack me now."Steven J. Hill"2002-09-042-1/+62
|
* Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"2002-09-041-0/+50
|
* Added function 'mkdtemp' for Linux Test Project."Steven J. Hill"2002-09-042-1/+37
|
* Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"2002-09-042-1/+46
| | | | works identically to function in glibc.
* (free):Miles Bader2002-09-041-5/+5
| | | | | Update debug statement. Update to use __heap_delete and __heap_is_empty.
* (__heap_delete): Renamed from `__heap_unlink_free_area'.Miles Bader2002-09-041-3/+6
| | | | | (__heap_free_area_alloc): Use __heap_delete. (__heap_is_empty): New macro.
* Support fstatvfs64 and statvfs64Eric Andersen2002-09-033-1/+120
| | | | -Erik
* Oops. Turns out I broke statvfs() and fstatvfs() back in February,Eric Andersen2002-09-032-26/+0
| | | | | | when I accidentally changed them unconditionally into the 64 bit versions... Oops. -Erik
* Redo stat structures (kernel changed too).Miles Bader2002-08-301-77/+66
|
* Add __kernel_ino64_t.Miles Bader2002-08-301-4/+2
| | | | Make __kernel_loff_t unconditional.
* Doc fix.Miles Bader2002-08-301-1/+1
|