summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2005-09-17Change to glibc way of defining syscalls. This should make PPCJoakim Tjernlund
compile with gcc 4.0/4.1
2005-09-07grab a tiny mmap implementation from glibcMike Frysinger
2005-09-07make sure the syscall mmap func isnt exportedMike Frysinger
2005-08-27asierllano writes in bug 370:Joakim Tjernlund
The gcc compiler has deprecated the type __uint128 for 32-bits platforms. Due to the fact that this type was introduced in gcc-3.1 it is better to drop its use. (glibc has the same problem and uses this same solution).
2005-08-26oops, new math code needs thisMike Frysinger
2005-08-25import different optimized versions of div funcs based upon target sparc archMike Frysinger
2005-08-18also check for __thumb__Mike Frysinger
2005-08-17Make uClibc vfork() use kernels vfork() instead of fork(). Joakim Tjernlund
2005-08-15For current kernels, we just use the getcwd() syscall. For old 2.0 linuxEric Andersen
kernels, we need this bit to make the non-syscall version that recurses up the directory path work properly. Thanks go to Harald Kuethe for sorting this out.
2005-08-15arm has its own iopl.c now so we dont need ugly #ifdef check for armMike Frysinger
2005-08-15rip out iopl from ioperm.c so it will override the common iopl.cMike Frysinger
2005-08-15import thumb support from jbowler in Bug 385Mike Frysinger
2005-08-14eat whitespaceMike Frysinger
2005-08-14import thumb support from jbowler in Bug 385Mike Frysinger
2005-08-12revert __error -> __syscall_error change since it doesnt work for cloneMike Frysinger
2005-08-12missed one of the __error names in changing to __syscall_errorMike Frysinger
2005-08-11jump straight to __syscall_errorMike Frysinger
2005-08-09update crt0 to crt1 based heavily on glibc start.S and to sync up with ↵Mike Frysinger
__uClibc_main changes
2005-08-09use sigprocmask instead of internal __sigprocmask since __ version doesnt ↵Mike Frysinger
always exist
2005-08-09move __fpscr_values out of crt0 and into libc as proposed by Daniel ↵Mike Frysinger
Jacobowitz so that libm.so links properly with newer toolchains
2005-08-09remove unused/pointless variablesMike Frysinger
2005-08-08remove duplicated _syscall6 definitions and unify them with a defineMike Frysinger
2005-08-08eat whitespaceMike Frysinger
2005-08-04whitespace itMike Frysinger
2005-08-04yvasilev writes in Bug 235:Mike Frysinger
uClibc uses wrong word order in vfp floating point arithmetic. I found this using my modification to N. Pitre's soft-float gcc patch, but this modifications were made just to allow gcc to compile code for armv4l, while nothing about fp arithmetic was changed.
2005-08-03Update from (older) glibc code.Manuel Novoa III
2005-08-03POSIX requires that fields st_dev and st_rdev to be of type dev_t.Manuel Novoa III
2005-07-31Old glibc fix for ltp's clone07 test. Another file that needs updating...Manuel Novoa III
2005-07-31This fixes the pread/pwrite bugs reported by ltp. But I really need to pull ↵Manuel Novoa III
in the latest glibc stuff.
2005-07-30Check for __NR_fcntl64.Manuel Novoa III
2005-07-30Update with current glibc version.Manuel Novoa III
2005-07-30Since we're now always using IPC_64, we need this. Otherwise, some of the ↵Manuel Novoa III
perl tests fail on mipsel.
2005-07-29remove outdated comment and announce support for nanosecondsMike Frysinger
2005-07-29we are handed errno as a negative value so we need to reverse itMike Frysinger
2005-07-28if fcntl() is called with a 64bit command and LFS is enabled, pass the ↵Mike Frysinger
command along to fcntl64 instead of returning ENOSYS (error detected by LTP fcntl18)
2005-07-28fix whitespacingMike Frysinger
2005-07-28s/__kernel_time_t/__time_tJoakim Tjernlund
2005-07-28Add missing #include <bits/wordsize.h> and change __kernel_time toJoakim Tjernlund
__time. Minior WS touchup also.
2005-07-28the common sem.h is good enough for x86_64Mike Frysinger
2005-07-28the errno settings was fixed but the return value was still being clobbered ↵Mike Frysinger
... fix that too
2005-07-28tweak $TOPDIR usage to not have duplciate //Mike Frysinger
2005-07-28A while back, the sysvipc code was changed to use IPC_64 in the calls.Manuel Novoa III
Unfortunatly, the semid_ds structs were not changed as needed. So import the necessary (tweaked) files from glibc. Only tested on x86 today, but I'll be testing mips tomorrow.
2005-07-27add some asm magic to fix setting errno/ret values in the .S functionsMike Frysinger
2005-07-23Since __syscall_error is a C func, we need to store the syscall return valueManuel Novoa III
in the appropriate register. Otherwise, errno is set to random garbage.
2005-07-17whoops, reversed naming of nano sec members ... kernel uses _, user space ↵Mike Frysinger
does not
2005-07-17syntax cleanupsMike Frysinger
2005-07-17tweak whitespaceMike Frysinger
2005-07-17rip out previous armeb old-stat abi compat code since arm linux opinion is ↵Mike Frysinger
that the old stat.h abi was for little endian only ... people should use this patch to fix their armeb kernels: http://www.arm.linux.org.uk/developer/patches/viewpatch.php?id=863/1
2005-07-17add support for nanosecondsMike Frysinger
2005-07-16make sure the stat64 struct is packed to prevent further ABI headaches as ↵Mike Frysinger
done in mainline 2.6