summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
AgeCommit message (Collapse)Author
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
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
2002-08-26Initial checkin.Miles Bader
2002-08-25Use the kernel version of struct msqid_ds directly, since we don'tEric Andersen
do any of that silly translating... -Erik
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-25Make shm stuff work properly.Eric Andersen
-Erik
2002-08-24Tweak things so that struct stat and struct stat64 (seem to) work onManuel Novoa III
i386. This is for Erik to look at wrt the other archs.
2002-08-24Avoid `ECANCELED' redefined on mipsEric Andersen
-Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-23Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen
-Erik
2002-08-23(initfini.s): Search the uClibc include dir, so we can find <features.h>.Miles Bader
2002-08-22Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen
-Erik
2002-08-22Rework errno handling to be kernel header freeEric Andersen
-Erik
2002-08-22Support _syscall6 and _syscall7 for armEric Andersen
-Erik
2002-08-22Hide .hidden stuff unless explicitly enabledEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-19Work from Stefan Allius which allows superH to use the commonEric Andersen
method for building crti.o and crtn.o
2002-08-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-08-16whitespaceMiles Bader
2002-08-16(errno): Only define as a macro if __UCLIBC_HAS_THREADS__ is defined.Miles Bader
(__set_errno): Just assign to `errno' (which will be expanded to the thread-friendly version when appropriate).
2002-08-16Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen
-Erik
2002-08-14(CSRC): Add syscall.cMiles Bader
2002-08-14Initial checkin.Miles Bader
2002-08-12Revert commit by davidm to printf.c that initialized conv_numManuel Novoa III
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.
2002-08-09Add in __uClibc_syscallEric Andersen
2002-08-09Initial piece of unified syscall support from Brecis CommunicationsEric Andersen
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