summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Cleanup a few structural wierdnessesEric Andersen2002-11-156-23/+27
|
* Stefan Allius writes:Eric Andersen2002-11-153-115/+116
| | | | | | | | | | | 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
* Remove obsolete filesEric Andersen2002-11-152-74/+0
|
* Fix it for real this time.Eric Andersen2002-11-152-8/+13
|
* Doh! I screwed that one all up. Lets try that again...Eric Andersen2002-11-152-8/+16
| | | | -Erik
* Stefan Allius writes:Eric Andersen2002-11-153-11/+78
| | | | | | | | | | | | | 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
* I was an idiot and put _fini into the wrong register. Duh.Eric Andersen2002-11-151-3/+2
| | | | This patch from David Meggy fixes it...
* Minor cleanupEric Andersen2002-11-142-8/+11
| | | | -Erik
* Implement sendfile64Eric Andersen2002-11-142-1/+48
| | | | -Erik
* Fixup function prototype for __uint128_t which fixes the compileEric Andersen2002-11-071-5/+3
| | | | | on powerpc with gcc 3.2. -Erik
* Update soft-float handlingEric Andersen2002-11-064-5/+7
|
* Fixup handling of disabled optionsEric Andersen2002-11-052-3/+3
|
* Patch from Stefan Allius. Include CPU_CFLAGS when compilingEric Andersen2002-11-051-1/+1
| | | | initfini
* I dunno why there were align 5, but align 4 is much more sensible.Eric Andersen2002-11-046-6/+6
|
* Kill sysdep.h and fixup the SH asm to not use it.Eric Andersen2002-11-047-114/+48
| | | | -Erik
* Don't use ENTRY(), make the asm explicitEric Andersen2002-11-041-1/+5
| | | | -Erik
* Oops. Fix compilation on arm.Eric Andersen2002-11-041-1/+4
| | | | -Erik
* A patch from Vincent Sanders to fix the arm implementation ofEric Andersen2002-11-033-88/+247
| | | | ioperm() and iopl()
* Implement locale-specific grouping in printf for base 10 integer conversionsManuel Novoa III2002-11-031-0/+1
| | | | | 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...
* Another update to initfini.awk and initfini.c from Stefan AlliusEric Andersen2002-11-031-0/+19
| | | | | to hopefully address SH wierdness. Now works on other architecture properly as well.
* Properly prefix some symbolsEric Andersen2002-11-034-36/+11
|
* Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen2002-10-3126-67/+67
| | | | | | | | | | | | | | | 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
* Remove my horrible SH hack infavor of this fix for initfini.awk fromEric Andersen2002-10-291-10/+0
| | | | Stefan Allius <allius@atecom.com>, which does a better job.
* Add in a horrible hack that seems necessary for the HitachiEric Andersen2002-10-291-0/+10
| | | | | SH processors to work properly. -Erik
* Overwriting the crt1.o link is fineEric Andersen2002-10-251-1/+1
|
* Be nicer to gcc -- add a link for crt1.oEric Andersen2002-10-251-0/+1
|
* This patch, based on a patch from Stefan Allius, lets us pick anEric Andersen2002-10-181-2/+2
| | | | | | appropriate awk implementation at compile time, so we can again compile on Solaris and whatnot. -Erik
* Patch from Christian MICHON <christian_michon@yahoo.fr> to reimplementEric Andersen2002-10-141-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 inEric Andersen2002-10-131-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 hexEric Andersen2002-10-092-2/+2
|
* Support O_STREAMINGEric Andersen2002-10-0912-0/+12
|
* Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 forEric Andersen2002-10-011-14/+12
| | | | mips where I had made a mess
* 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-014-49/+72
| | | | | | | 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-261-3/+3
| | | | -Erik
* 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 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
|
* Use __UCLIBC_HAVE_LFS__ not __USE_LARGEFILE64 to decide ifEric Andersen2002-09-161-2/+3
| | | | | 64 bit interfaces should be used. -Erik
* Added cris to ALL_SUBDIRSTobias Anderberg2002-09-161-1/+1
|
* Initial version of the CRIS port.Tobias Anderberg2002-09-1627-0/+1634
|
* 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.
* Fixed compile bugs having to do with 64-bit filesystem operations that"Steven J. Hill"2002-09-091-0/+9
| | | | need to be disabled when 'DOLFS' is disabled.
* 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
|
* 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.