summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
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-29Add in a horrible hack that seems necessary for the HitachiEric Andersen
SH processors to work properly. -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-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-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-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
----------------------------------- 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-09-26Replace _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-09-23Cosmetic cleanup.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-20Removed unused fileTobias Anderberg
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-16Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide ifEric Andersen
64 bit interfaces should be used. -Erik
2002-09-16Added cris to ALL_SUBDIRSTobias Anderberg
2002-09-16Initial version of the CRIS port.Tobias Anderberg
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.
2002-09-09Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"
need to be disabled when 'DOLFS' is disabled.
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-09-04'syscall' now properly works for MIPS."Steven J. Hill"
2002-09-04Fixed 'struct ipc_perm' and 'struct msqid_ds' members to allow the Linux"Steven J. Hill"
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.
2002-09-04Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"
2002-09-04Added function 'get_current_dir_name' for Linux Test Project. Tested and"Steven J. Hill"
works identically to function in glibc.
2002-08-30Redo stat structures (kernel changed too).Miles Bader
2002-08-30Add __kernel_ino64_t.Miles Bader
Make __kernel_loff_t unconditional.
2002-08-28Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen
2002-08-28If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough
2002-08-28Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen
-Erik
2002-08-27Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough
and envp was a very small number and not an address. I think this fixes most of the SH platform.
2002-08-27Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen
-Erik
2002-08-27Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough
are still seg-faulting.
2002-08-27Added __kernel_fsid_t to satisfy some apps that need it.David McCullough
Definitions taken from 2.4 kernel sources for each of the platforms.
2002-08-26Oops. I got the include guard wrong. Fix it per currentEric Andersen
value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
2002-08-26Initial checkin.Miles Bader
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
2002-08-24Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III
i386. This is for Erik to look at wrt the other archs.
2002-08-24Avoid `ECANCELED' redefined on mipsEric Andersen
-Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik