summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
...
* Make shm stuff work properly.Eric Andersen2002-08-252-23/+22
| | | | -Erik
* Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III2002-08-242-7/+27
| | | | i386. This is for Erik to look at wrt the other archs.
* Avoid `ECANCELED' redefined on mipsEric Andersen2002-08-241-3/+4
| | | | -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-244-36/+4
| | | | | header, which is not directly usable for many architectures. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-2410-10/+334
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-2310-612/+580
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-234-392/+405
| | | | -Erik
* (initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader2002-08-231-1/+1
|
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-226-387/+613
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-223-68/+523
| | | | -Erik
* Support _syscall6 and _syscall7 for armEric Andersen2002-08-221-0/+17
| | | | -Erik
* Hide .hidden stuff unless explicitly enabledEric Andersen2002-08-221-10/+16
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-216-7/+6
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-1919-823/+129
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Work from Stefan Allius which allows superH to use the commonEric Andersen2002-08-195-55/+8
| | | | method for building crti.o and crtn.o
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-185-17/+60
| | | | | need to translate these entities... -Erik
* whitespaceMiles Bader2002-08-161-0/+1
|
* (errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader2002-08-161-3/+4
| | | | | (__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-164-10/+10
| | | | -Erik
* (CSRC): Add syscall.cMiles Bader2002-08-141-1/+1
|
* Initial checkin.Miles Bader2002-08-141-0/+43
|
* Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III2002-08-121-9/+9
| | | | | | | | | needlessly. To do so increases the generated code size with bcc. Eliminate duplicate define warnings in wstring.c. Fix potentially broken preprocessor comparisons. The preprocessor converts integers to maximal signed type, so inequality comparisons involving UINTMAX_MAX, ULLONG_MAX, and (if no long long) ULONG_MAX were potentially broken.
* Add in __uClibc_syscallEric Andersen2002-08-091-1/+1
|
* Initial piece of unified syscall support from Brecis CommunicationsEric Andersen2002-08-091-0/+45
|
* New and improved fork for mips, thanks to the fine folksEric Andersen2002-08-092-1/+66
| | | | at Brecis Communications.
* Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough2002-08-092-1/+4
| | | | | | using a 3.0.4 version of the sh-linux-gcc compiler.
* pread and pwrite were broken in several ways:David McCullough2002-08-091-19/+23
| | | | | | | | | | | | | | * pwrite was using the write system call. * SYSCALL_INLINE was only defined for pread and reused by pwrite meaning pwrite did a pread :-). * The kernel pread/pwrite interfaces always take a 64bit value. So the libc versions must do the LONG_LONG_PAIR stuff otherwise the pread/pwrite calls will not work. These guys are working now for SH at least (and I can format my DiskOnChip again ;-)
* At some stage I was getting conflicts on the SH platform withDavid McCullough2002-08-091-2/+2
| | | | | the two i_am_not_a_leaf functions, changing the name of one is harmless and fixed the problem at the time. Not entirely sure it's still required.
* Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen2002-08-091-1/+1
|
* Cleanup error returns to avoid warningsEric Andersen2002-08-091-8/+8
| | | | -Erik
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-085-31/+197
| | | | | | Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
* Disable unused unifed stuffEric Andersen2002-08-081-3/+0
| | | | -Erik
* Just in case, crash if somehow `exit' returns anywaysEric Andersen2002-08-061-0/+2
| | | | -Erik
* Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen2002-07-311-1/+1
| | | | create_module() support.
* Oops. I accidentally omitted the actual mknod() function.Eric Andersen2002-07-271-0/+9
| | | | -Erik
* Ok, I get it. sjhill kept adding the 'find' command sinceEric Andersen2002-07-261-0/+1
| | | | | | include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
* The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen2002-07-261-1/+9
| | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-251-5/+214
|
* Implement syscall() for armEric Andersen2002-07-252-1/+50
| | | | -Erik
* Add support for people calling syscall()Eric Andersen2002-07-243-76/+78
| | | | -Erik
* Remove source files that, well, no longer exist :)."Steven J. Hill"2002-07-241-1/+1
|
* Add some syscalls which I moved out of syscalls.cEric Andersen2002-07-225-0/+239
| | | | -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-2220-886/+423
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-155-148/+26
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* stupid cut-n-paste bugEric Andersen2002-07-151-5/+5
| | | | -Erik
* Patch for a silly bug from David BlytheEric Andersen2002-07-151-1/+1
|
* Silence a couple of silly warningsEric Andersen2002-07-152-0/+2
| | | | -Erik
* Rework pread and pwrite support so it should actually work.Eric Andersen2002-07-153-33/+219
| | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
* Kill this stale fileEric Andersen2002-07-112-32/+1
|
* Attempt to clean up the strerror_r situation.Manuel Novoa III2002-07-071-8/+0
|