summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Add syscalls: modify_ldt _sysctl setresuid getresuid setresgid getresgid"Steven J. Hill"2002-09-041-0/+50
|
* 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.
* 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.
* Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen2002-08-287-7/+0
|
* If the initfini.pl script changes, regenerate the crt[in].S files.David McCullough2002-08-281-1/+1
|
* Fix broken getpriority syscall, per email from Marshall M. MiddenEric Andersen2002-08-281-2/+15
| | | | -Erik
* Somehow the bit of code that add the offset of envp to argv got lostDavid McCullough2002-08-271-0/+1
| | | | | and envp was a very small number and not an address. I think this fixes most of the SH platform.
* Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen2002-08-277-0/+35
| | | | -Erik
* Fix a delay slot problem, this gets some apps working on SH, a good numberDavid McCullough2002-08-271-1/+3
| | | | are still seg-faulting.
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-279-0/+60
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Oops. I got the include guard wrong. Fix it per currentEric Andersen2002-08-261-3/+3
| | | | | value in include/asm-v850/posix_types.h on cvs.uclinux.org -Erik
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-2610-25/+85
| | | | | | | 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
* Initial checkin.Miles Bader2002-08-262-0/+150
|
* Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen2002-08-251-16/+14
| | | | | do any of that silly translating... -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-258-2/+304
| | | | | __USE_FILE_OFFSET64 handling. -Erik