Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add in __uClibc_syscall | Eric Andersen | 2002-08-09 | 1 | -1/+1 |
| | |||||
* | Initial piece of unified syscall support from Brecis Communications | Eric Andersen | 2002-08-09 | 1 | -0/+45 |
| | |||||
* | New and improved fork for mips, thanks to the fine folks | Eric Andersen | 2002-08-09 | 2 | -1/+66 |
| | | | | at Brecis Communications. | ||||
* | Fix a number of compile time warnings so that uClibc will build with -Werror ↵ | David McCullough | 2002-08-09 | 2 | -1/+4 |
| | | | | | | using a 3.0.4 version of the sh-linux-gcc compiler. | ||||
* | pread and pwrite were broken in several ways: | David McCullough | 2002-08-09 | 1 | -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 with | David McCullough | 2002-08-09 | 1 | -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 Andersen | 2002-08-09 | 1 | -1/+1 |
| | |||||
* | Cleanup error returns to avoid warnings | Eric Andersen | 2002-08-09 | 1 | -8/+8 |
| | | | | -Erik | ||||
* | I reworked syscalls.h to match how I'm doing other arches. Stefan Allius and | Eric Andersen | 2002-08-08 | 5 | -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 stuff | Eric Andersen | 2002-08-08 | 1 | -3/+0 |
| | | | | -Erik | ||||
* | Just in case, crash if somehow `exit' returns anyways | Eric Andersen | 2002-08-06 | 1 | -0/+2 |
| | | | | -Erik | ||||
* | Patch from Martin Proulx <mproulx@okiok.com> to fix i960 | Eric Andersen | 2002-07-31 | 1 | -1/+1 |
| | | | | create_module() support. | ||||
* | Oops. I accidentally omitted the actual mknod() function. | Eric Andersen | 2002-07-27 | 1 | -0/+9 |
| | | | | -Erik | ||||
* | Ok, I get it. sjhill kept adding the 'find' command since | Eric Andersen | 2002-07-26 | 1 | -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. We | Eric Andersen | 2002-07-26 | 1 | -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-25 | 1 | -5/+214 |
| | |||||
* | Implement syscall() for arm | Eric Andersen | 2002-07-25 | 2 | -1/+50 |
| | | | | -Erik | ||||
* | Add support for people calling syscall() | Eric Andersen | 2002-07-24 | 3 | -76/+78 |
| | | | | -Erik | ||||
* | Remove source files that, well, no longer exist :). | "Steven J. Hill" | 2002-07-24 | 1 | -1/+1 |
| | |||||
* | Add some syscalls which I moved out of syscalls.c | Eric Andersen | 2002-07-22 | 5 | -0/+239 |
| | | | | -Erik | ||||
* | Rework syscall handling. Rewrite syscall handlers for x86 and ARM. | Eric Andersen | 2002-07-22 | 20 | -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 an | Manuel Novoa III | 2002-07-15 | 5 | -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 bug | Eric Andersen | 2002-07-15 | 1 | -5/+5 |
| | | | | -Erik | ||||
* | Patch for a silly bug from David Blythe | Eric Andersen | 2002-07-15 | 1 | -1/+1 |
| | |||||
* | Silence a couple of silly warnings | Eric Andersen | 2002-07-15 | 2 | -0/+2 |
| | | | | -Erik | ||||
* | Rework pread and pwrite support so it should actually work. | Eric Andersen | 2002-07-15 | 3 | -33/+219 |
| | | | | | Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik | ||||
* | Kill this stale file | Eric Andersen | 2002-07-11 | 2 | -32/+1 |
| | |||||
* | Attempt to clean up the strerror_r situation. | Manuel Novoa III | 2002-07-07 | 1 | -8/+0 |
| | |||||
* | Fix namespace pollution by hiding statfix and statfix64 by | Eric Andersen | 2002-07-07 | 5 | -11/+11 |
| | | | | | prepending an __ to the name. Not perfect but better. -Erik | ||||
* | Cleanup namespace leaks by prepending __ to global stuff to | Eric Andersen | 2002-07-07 | 1 | -2/+3 |
| | | | | | indicate it is (alledgedly) private. -Erik | ||||
* | Only define __uwchar_t if wide char support is enabled. | Manuel Novoa III | 2002-07-05 | 1 | -1/+1 |
| | |||||
* | Enable WCHAR support for C/POSIX stub locales. | Manuel Novoa III | 2002-07-03 | 2 | -16/+51 |
| | | | | | | Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support. | ||||
* | Make clone work, part 2. | Eric Andersen | 2002-07-03 | 2 | -1/+30 |
| | | | | -Erik | ||||
* | Fix clone so it compiles | Eric Andersen | 2002-07-03 | 2 | -8/+20 |
| | | | | -Erik | ||||
* | Several cleanups/fixes from Marshall M. Midden <m4@brecis.com> | Eric Andersen | 2002-06-26 | 3 | -1/+3 |
| | |||||
* | Fix support for 2.0.x linux kernels. Oops. | Eric Andersen | 2002-06-21 | 1 | -2/+2 |
| | | | | -Erik | ||||
* | Cleanup the getcwd implementation (again) since I broke it | Eric Andersen | 2002-06-18 | 3 | -8/+174 |
| | | | | | | | last night. Restore malloc-ing when buf=NULL for the syscall version... Move getcwd to libc/sysdeps/linux/common and out of syscalls.c so there is just one getcwd.o object present. -Erik | ||||
* | Eliminate all the pointless globals from getcwd(). Default | Eric Andersen | 2002-06-18 | 1 | -1/+7 |
| | | | | | to using the getcwd syscall instead, when it is present. -Erik | ||||
* | Kill kernel_version.c, which is completely meaningless crap | Eric Andersen | 2002-06-18 | 2 | -54/+1 |
| | | | | | and didn't even work. -Erik | ||||
* | Fix perror() and printf("%m") to not call strerror(), as required by the | Manuel Novoa III | 2002-06-18 | 1 | -0/+8 |
| | | | | | | | | | standards. Temporarily added a utility function to wrap Erik's strerror_r so that "Unknown error xxx" strings can be generated for errno's which cause strerror_r to fail. That utility function will eventually be merged in with the strerror/strerror_r functions when I change over to optionallly mmap'ing the system error strings to provide for lower mem comsumption on non-MMU platforms, as well as locale-specific system error messages. | ||||
* | Patch from Martin Proulx <mproulx@okiok.com> to support | Eric Andersen | 2002-06-18 | 17 | -0/+1098 |
| | | | | the i960 architecture. | ||||
* | Add support for sigtimedwait and sigwaitinfo | Eric Andersen | 2002-06-17 | 1 | -0/+39 |
| | | | | -Erik | ||||
* | Kill the libc-lock headers, which we do not use and which are | Eric Andersen | 2002-06-10 | 2 | -375/+0 |
| | | | | | not correct for uClibc. Fix setenv locking to behave itself. -Erik | ||||
* | Changes so that 'regdef.h' gets included in the development environment. | "Steven J. Hill" | 2002-06-04 | 6 | -4/+66 |
| | |||||
* | Moved to 'sys' directory. | "Steven J. Hill" | 2002-06-04 | 1 | -61/+0 |
| | |||||
* | Doh! A silly typo broke select... | Eric Andersen | 2002-05-30 | 1 | -2/+2 |
| | | | | -Erik | ||||
* | And with this, the alpha port is not basically working. | Eric Andersen | 2002-05-30 | 1 | -24/+24 |
| | | | | -Erik | ||||
* | Make these properly cope with 64bit systems | Eric Andersen | 2002-05-30 | 2 | -29/+35 |
| | | | | -Erik | ||||
* | Fixup some silly bugs I added earlier | Eric Andersen | 2002-05-30 | 1 | -40/+37 |
| | | | | -Erik | ||||
* | Needed for the alpha port | Eric Andersen | 2002-05-30 | 6 | -1/+292 |
| | | | | -Erik |