Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix a number of compile time warnings so that uClibc will build with -Werror ↵ | David McCullough | 2002-08-09 | 1 | -0/+1 |
| | | | | | | 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. | ||||
* | 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 | ||||
* | 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 | 7 | -174/+113 |
| | | | | | | 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 | 2 | -2/+18 |
| | | | | | | 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 | ||||
* | 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 | ||||
* | 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. | ||||
* | Several cleanups/fixes from Marshall M. Midden <m4@brecis.com> | Eric Andersen | 2002-06-26 | 2 | -0/+2 |
| | |||||
* | 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. | ||||
* | 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 | ||||
* | Doh! A silly typo broke select... | Eric Andersen | 2002-05-30 | 1 | -2/+2 |
| | | | | -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 | ||||
* | Make syscalls.c way more generic. Now works on alpha... | Eric Andersen | 2002-05-30 | 1 | -4/+173 |
| | | | | -Erik | ||||
* | Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp> | Eric Andersen | 2002-05-23 | 1 | -4/+4 |
| | |||||
* | Changes needed for MIPS with regards to the .init and .fini sections. | "Steven J. Hill" | 2002-05-20 | 1 | -4/+0 |
| | |||||
* | Fixes for 64 bit arches | Eric Andersen | 2002-05-12 | 1 | -1/+29 |
| | |||||
* | Small cleanups for alpha | Eric Andersen | 2002-05-12 | 1 | -0/+1 |
| | |||||
* | Add a default syscalls.h that will just error out. | Eric Andersen | 2002-05-12 | 1 | -0/+10 |
| | | | | Add in syscalls.h for alpha. | ||||
* | New locale support (in development). Supports LC_CTYPE, LC_NUMERIC, | Manuel Novoa III | 2002-05-06 | 3 | -0/+512 |
| | | | | | | | | | | | | | | | | | | | | | | LC_TIME, LC_MONETARY, and LC_MESSAGES for the SUSv3 items. Also, nl_langinfo() when real locale support is enabled. New implementation of ctype.h. New implementation of wctype.h. New implementation of most of the string functions (smaller). New implementation of the wcs/wmem functions. These are untested, but they're also just preprocessor-modified versions ot the corresponding str/mem functions. Tweaked qsort and new bsearch. Stuff still pending: stdlib.h and wchar.h mb<->wc functions. I actually have working versions of the stdlib ones, but the reentrant versions from wchar.h require some reworking. Basic replacement and translit support for wc->mb conversions. (groundwork laid). Simple-minded collate support such as was provided by the previous locale implementation. (mostly done -- 8-bit codesets only) Shared mmaping of the locale data and strerror message text. | ||||
* | Use __off64_t instead of off64_t. | Miles Bader | 2002-04-25 | 1 | -2/+2 |
| | |||||
* | Stupid libgcc.a from gcc 2.95.x uses __write in pure.o | Eric Andersen | 2002-04-25 | 1 | -0/+3 |
| | | | | | which is a blatent GNU libc-ism... Cope. -Erik | ||||
* | Add support for mmap64 | Eric Andersen | 2002-04-24 | 2 | -1/+53 |
| | | | | -Erik | ||||
* | Stub out pread and pwrite when not available | Eric Andersen | 2002-04-17 | 1 | -0/+16 |
| | |||||
* | Some minor updates per discussion with Miles Bader | Eric Andersen | 2002-04-10 | 2 | -8/+12 |
| | | | | -Erik | ||||
* | Fixup __USE_FILE_OFFSET64 | Eric Andersen | 2002-04-09 | 1 | -5/+7 |
| | |||||
* | Add creat64 | Eric Andersen | 2002-04-09 | 2 | -2/+48 |
| | | | | -Erik | ||||
* | Add truncate64.c | Eric Andersen | 2002-04-09 | 1 | -1/+1 |
| | |||||
* | Remove from syscalls.c, leave just ftruncate64.c and truncate64.c | Eric Andersen | 2002-04-09 | 3 | -28/+43 |
| | | | | | which have implementations that works... -Erik | ||||
* | Create a much more careful ftruncate64 implementation, that should | Eric Andersen | 2002-04-09 | 2 | -1/+40 |
| | | | | | address all the concern Miles had with the earlier versions... -Erik | ||||
* | Avoid defining __USE_FILE_OFFSET64, since we do _NOT_ want | Eric Andersen | 2002-04-09 | 2 | -6/+10 |
| | | | | | | interfaces silently renamed under us or very bad things may happen... -Erik | ||||
* | undefine __USE_FILE_OFFSET64, since we absolutely do _NOT_ want interfaces | Eric Andersen | 2002-04-09 | 2 | -63/+1 |
| | | | | | | silently renamed under us or very bad things will happen. In this case, statfs64() ended up recurively calling statfs64() instead of statfs().... -Erik | ||||
* | Teach initfini to build properly on arches where gcc tries to be | Eric Andersen | 2002-04-03 | 1 | -0/+10 |
| | | | | | sneaky behind our back... -Erik | ||||
* | Be certain that | Eric Andersen | 2002-04-03 | 1 | -1/+7 |
| | |||||
* | m4@brecis.COM noticed a typing problem with the getuid syscall. OOps. | Eric Andersen | 2002-04-03 | 1 | -1/+1 |
| | |||||
* | Patch from Miles Bader to fix the spots I'd messed up. | Eric Andersen | 2002-04-01 | 1 | -8/+13 |
| |