summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips/bits
AgeCommit message (Collapse)Author
2008-10-06- tweak inclusion of asm/socket.h for linux-2.4 (Peter S. Mazinger)Bernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-09-29- fix ISO C keywordsBernhard Reutner-Fischer
2008-09-16- add sync_file_range()Bernhard Reutner-Fischer
Tested successfully on i386..
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-02Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso
otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-03- add missing #endifBernhard Reutner-Fischer
2008-05-03- implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer
- synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
2008-01-17A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt
a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
2008-01-08change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger
doing double negatives
2007-02-15Atsushi Nemoto writes:Mike Frysinger
When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole macros for each ABI. Actually, except for argument type (long vs. long long), internal_syscall[0-4] are identical for all ABI, and internal_syscall[5-6] for N32/N64 are identical for N32/N64. And I just disabled FORCE_FRAME_POINTER since it had caused build failure, but including <alloca.h> can solve it. Here is a patch to handle these issues, plus asm/__asm__ and volatile/__volatile__ conversion. Thanks for Peter S. Mazinger who did basic work of this cleanup.
2007-02-12Atsushi Nemoto writes:Mike Frysinger
Current ucontext_t does not match with kernel's definition. Also, on N32 ABI, we can not use kernel's struct sigcontext since kernel's sizeof(long) and user's sizeof(long) is differ. For both data structure, just importing header files from recent glibc fixes the mismatch. So here is a patch importing sys/ucontext.h and bits/sigcontext.t from glibc-2.5.
2007-02-11Atsushi Nemoto writes:Mike Frysinger
This patch imports INLINE_SYSCALL, etc. from glibc-2.5 ports and implements _syscall[0-7] by using them, like arm and powerpc. I think this patch does not change functionality, but gives better __SYSCALL_CLOBBERS for N32/N64.
2007-02-09Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger
st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
2007-02-04sync some stuff from glibc to fix test build failureMike Frysinger
2006-12-08Take Mike Frysinger's comments into account -- make certain that userEric Andersen
applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
2006-12-06update from mjn3Eric Andersen
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
Adjust for mips64 kernel.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The mips64 N32/N64 ABI have a bit different register usage convention. Also the register size for these ABI is 8 byte. Use ld/sd for them.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The mips64 N32/N64 ABI can pass much arguments via registers.
2006-11-04mips64 patch from Atsushi NemotoEric Andersen
This is a bit twisted dirent.h can be used for both getdirent and getdirent64 case on mips/mips64.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The kernel include/asm-mips/posix_types.h defines __kernel_ino_t as unsigned long.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used for WORDSIZE. This is came from glibc code.
2006-11-04based on a patch from Atsushi Nemoto:Eric Andersen
There is a mismatch of struct msghdr between the kernel and libc. In a 64-bit environment, the size of msg_namelen is 4 for all, but the size of msg_iovlen and msg_controllen is 8 bytes for the kernel and for glibc, but 4 bytes for uClibc. Fix size for the 64bit case.
2006-08-25merge with psm: sync with common socket headersMike Frysinger
2006-08-24fix from psm: enable readahead prototypeMike Frysinger
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23import new headers from upstream via psmMike Frysinger
2006-08-21bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen
based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
2006-04-21Joseph S. Myers writes: The MIPS <bits/mman.h> header is missing definitions ↵Mike Frysinger
of POSIX_MADV_*
2006-04-21sync with glibcMike Frysinger
2006-03-29sync with glibcMike Frysinger
2006-02-28Mark __syscall_*sigaction hidden and add guard to the headerPeter S. Mazinger
2006-02-01add prototype to get rid of warningMike Frysinger
2006-01-29disable usage of .setMike Frysinger
2006-01-26Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"
2006-01-19Change to sane defaultsPeter S. Mazinger
2006-01-19move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger
specific header file to make porting/updates a lot easier
2006-01-05sync __SYSCALL_CLOBBERS macro from glibcMike Frysinger
2006-01-01previous st_dev change from unsigned long (4bytes) to __dev_t (8bytes) ↵Mike Frysinger
needed to shrink the pads as well to maintain ABI compat
2005-12-01get rid of mips-specific types.h since common one contains more fixesMike Frysinger
2005-11-27define MREMAP_FIXEDMike Frysinger
2005-11-16update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger
make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
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-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-28s/__kernel_time_t/__time_tJoakim Tjernlund
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.