summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
AgeCommit message (Collapse)Author
2002-11-15Cleanup a few structural wierdnessesEric Andersen
2002-11-15Stefan Allius writes:Eric Andersen
I attached a patch, which revise the clone.S and vfork.S: - Use PIC code. - include new file syscall.S, so we can simply make a branch to __syscall_error instead of a PLT/GOT call - call errno_location to store the syscall error (for pthreads) - avoid to use the 'shad' statement on SH2 targets - call fork if vfork isn't available - some cleanups and optimization
2002-11-15Remove obsolete filesEric Andersen
2002-11-15Fix it for real this time.Eric Andersen
2002-11-15Doh! I screwed that one all up. Lets try that again...Eric Andersen
-Erik
2002-11-15Stefan Allius writes:Eric Andersen
Hi Erik, I added the FPU support for the setjmp/longjmp stuff. This patch also moves the code from the bsd*.S files to the setjmp.S file, so we can use simple branch instructions instead of referencing over the .GOT/.PLT section. This makes the PIC code much easier, smaller and faster. (The idea comes from the SPARC target) Bye Stefan
2002-11-15I was an idiot and put _fini into the wrong register. Duh.Eric Andersen
This patch from David Meggy fixes it...
2002-11-14Minor cleanupEric Andersen
-Erik
2002-11-14Implement sendfile64Eric Andersen
-Erik
2002-11-07Fixup function prototype for __uint128_t which fixes the compileEric Andersen
on powerpc with gcc 3.2. -Erik
2002-11-06Update soft-float handlingEric Andersen
2002-11-05Fixup handling of disabled optionsEric Andersen
2002-11-05Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen
initfini
2002-11-04I dunno why there were align 5, but align 4 is much more sensible.Eric Andersen
2002-11-04Kill sysdep.h and fixup the SH asm to not use it.Eric Andersen
-Erik
2002-11-04Don't use ENTRY(), make the asm explicitEric Andersen
-Erik
2002-11-04Oops. Fix compilation on arm.Eric Andersen
-Erik
2002-11-03A patch from Vincent Sanders to fix the arm implementation ofEric Andersen
ioperm() and iopl()
2002-11-03Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III
when the grouping flag "'" is specified. Grouping for floating point values may wait until I do a rewrite of the floating pt to string code...
2002-11-03Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen
to hopefully address SH wierdness. Now works on other architecture properly as well.
2002-11-03Properly prefix some symbolsEric Andersen
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
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.