summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
AgeCommit message (Collapse)Author
2002-08-09New and improved fork for mips, thanks to the fine folksEric Andersen
at Brecis Communications.
2002-08-09Fix a number of compile time warnings so that uClibc will build with -Werror ↵David McCullough
using a 3.0.4 version of the sh-linux-gcc compiler.
2002-08-09pread and pwrite were broken in several ways:David McCullough
* 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 ;-)
2002-08-09At some stage I was getting conflicts on the SH platform withDavid McCullough
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.
2002-08-09Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen
2002-08-09Cleanup error returns to avoid warningsEric Andersen
-Erik
2002-08-08I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen
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,
2002-08-08Disable unused unifed stuffEric Andersen
-Erik
2002-08-06Just in case, crash if somehow `exit' returns anywaysEric Andersen
-Erik
2002-07-31Patch from Martin Proulx <mproulx@okiok.com> to fix i960Eric Andersen
create_module() support.
2002-07-27Oops. I accidentally omitted the actual mknod() function.Eric Andersen
-Erik
2002-07-26Ok, I get it. sjhill kept adding the 'find' command sinceEric Andersen
include/sgidefs.h wasn't getting scrubbed. Fix it so this symlink gets properly scrubbed, even for mipsel. -Erik
2002-07-26The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen
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
2002-07-25ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"
2002-07-25Implement syscall() for armEric Andersen
-Erik
2002-07-24Add support for people calling syscall()Eric Andersen
-Erik
2002-07-24Remove source files that, well, no longer exist :)."Steven J. Hill"
2002-07-22Add some syscalls which I moved out of syscalls.cEric Andersen
-Erik
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
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
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
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.
2002-07-15stupid cut-n-paste bugEric Andersen
-Erik
2002-07-15Patch for a silly bug from David BlytheEric Andersen
2002-07-15Silence a couple of silly warningsEric Andersen
-Erik
2002-07-15Rework pread and pwrite support so it should actually work.Eric Andersen
Add support for pread64 and pwrite64. Fixup llseek a bit. -Erik
2002-07-11Kill this stale fileEric Andersen
2002-07-07Attempt to clean up the strerror_r situation.Manuel Novoa III
2002-07-07Fix namespace pollution by hiding statfix and statfix64 byEric Andersen
prepending an __ to the name. Not perfect but better. -Erik
2002-07-07Cleanup namespace leaks by prepending __ to global stuff toEric Andersen
indicate it is (alledgedly) private. -Erik
2002-07-05Only define __uwchar_t if wide char support is enabled.Manuel Novoa III
2002-07-03Enable WCHAR support for C/POSIX stub locales.Manuel Novoa III
Implemented unformatted wide i/o functions. (ungetwc still needs testing) Fix a few bugs in wchar.c. Modifications for bcc/elks support.
2002-07-03Make clone work, part 2.Eric Andersen
-Erik
2002-07-03Fix clone so it compilesEric Andersen
-Erik
2002-06-26Several cleanups/fixes from Marshall M. Midden <m4@brecis.com>Eric Andersen
2002-06-21Fix support for 2.0.x linux kernels. Oops.Eric Andersen
-Erik
2002-06-18Cleanup the getcwd implementation (again) since I broke itEric Andersen
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
2002-06-18Eliminate all the pointless globals from getcwd(). DefaultEric Andersen
to using the getcwd syscall instead, when it is present. -Erik
2002-06-18Kill kernel_version.c, which is completely meaningless crapEric Andersen
and didn't even work. -Erik
2002-06-18Fix perror() and printf("%m") to not call strerror(), as required by theManuel Novoa III
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.
2002-06-18Patch from Martin Proulx <mproulx@okiok.com> to supportEric Andersen
the i960 architecture.
2002-06-17Add support for sigtimedwait and sigwaitinfoEric Andersen
-Erik
2002-06-10Kill the libc-lock headers, which we do not use and which areEric Andersen
not correct for uClibc. Fix setenv locking to behave itself. -Erik
2002-06-04Changes so that 'regdef.h' gets included in the development environment."Steven J. Hill"
2002-06-04Moved to 'sys' directory."Steven J. Hill"
2002-05-30Doh! A silly typo broke select...Eric Andersen
-Erik
2002-05-30And with this, the alpha port is not basically working.Eric Andersen
-Erik
2002-05-30Make these properly cope with 64bit systemsEric Andersen
-Erik
2002-05-30Fixup some silly bugs I added earlierEric Andersen
-Erik
2002-05-30Needed for the alpha portEric Andersen
-Erik
2002-05-30Make syscalls.c way more generic. Now works on alpha...Eric Andersen
-Erik
2002-05-23Several h8300 updates from Yoshinori Sato <qzb04471@nifty.ne.jp>Eric Andersen