summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips
Commit message (Collapse)AuthorAgeFilesLines
* - some more asm keyword fixes (Yann E. MORIN)Bernhard Reutner-Fischer2008-08-061-2/+1
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-235-7/+7
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-231-2/+2
|
* Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso2008-07-021-135/+0
| | | | | | otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-10/+13
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-243-39/+39
|
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | 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.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* - Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer2007-09-301-2/+6
|
* - Fix compilation for mips ABI64 with no LFS.Bernhard Reutner-Fischer2007-09-301-4/+7
| | | | This wants a stub_enosys(readahead) line later on, like many, many others need..
* Atsushi Nemoto writes:Mike Frysinger2007-09-152-1/+11
| | | | | | | In MIPS syscall(2), .cpload was added to an the error path, but it was not enough for ABIs other then O32. Use SETUP_GP, SETUP_GP64 and RESTORE_GP64 to handle all ABIs. This patch fixes an error path of MIPS pipe(2) too.
* Fix broken syscall() function since the original patch did not work."Steven J. Hill"2007-07-121-2/+4
|
* Atsushi Nemoto writes:Mike Frysinger2007-05-314-1/+122
| | | | | | | | Current MIPS readahead(), posix_fadvise(), posix_fadvise64() do not match with kernel on all ABIs. On O32 ABI, a padding is needed before a long long argument. On N32/N64, a long long argument should be passed via a single register.
* Fix MIPS syscall() and pipe functions to set errno correctly as reported by ↵"Steven J. Hill"2007-05-242-5/+20
| | | | Daniel Jacobowitz on the mailing list. More information available at <http://www.uclibc.org/lists/uclibc/2007-May/017968.html> .
* Atsushi Nemoto writes:Mike Frysinger2007-02-151-348/+65
| | | | | | | | | | | | | | | 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.
* Atsushi Nemoto writes:Mike Frysinger2007-02-122-121/+164
| | | | | | | | | | 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.
* Atsushi Nemoto writes:Mike Frysinger2007-02-111-266/+583
| | | | | | | | 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.
* Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger2007-02-092-21/+23
| | | | st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
* sync some stuff from glibc to fix test build failureMike Frysinger2007-02-041-6/+7
|
* sort out a few issues that show up on mipsEric Andersen2006-12-123-23/+37
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-082-5/+1
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* update from mjn3Eric Andersen2006-12-061-2/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-061-1/+1
| | | | We should use "PTR_LA" instead of "la" for N64 ABI.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-8/+19
| | | | | No pread64, pwrite64 syscall for N64 ABI. Make __libc_pread and __libc_pread64 use same syscall.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-9/+130
| | | | Adjust for mips64 kernel.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-11/+255
| | | | miscellaneous asm routines
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-046-1/+111
| | | | | 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.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+96
| | | | The mips64 N32/N64 ABI can pass much arguments via registers.
* mips64 patch from Atsushi NemotoEric Andersen2006-11-041-0/+61
| | | | | This is a bit twisted dirent.h can be used for both getdirent and getdirent64 case on mips/mips64.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-1/+1
| | | | | The kernel include/asm-mips/posix_types.h defines __kernel_ino_t as unsigned long.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-2/+2
| | | | | The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used for WORDSIZE. This is came from glibc code.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+38
| | | | | It seems these codes dropped when importing from glibc. This is required for mips64.
* based on a patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+13
| | | | | | | 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.
* Atsushi Nemoto writes:Eric Andersen2006-09-114-7/+15
| | | | | | | The "make headers_install" in kernel 2.6.18 does not export asm-mips/asm.h, asm-mips/regdef.h and asm-mips/sysmips.h. Do not use them. We can use sys/asm.h and sys/regdef.h instead. The sysmips.h part of this patch is came from glibc 2.4 code.
* merge with psm: sync with common socket headersMike Frysinger2006-08-251-7/+7
|
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+4
|
* sync with upstream via psmMike Frysinger2006-08-237-72/+178
|
* import new headers from upstream via psmMike Frysinger2006-08-231-0/+48
|
* fixes from psm: hide internal brk symbolsMike Frysinger2006-08-231-3/+2
|
* fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger2006-08-231-0/+2
|
* sync with psm: add copyright noticeMike Frysinger2006-08-231-0/+5
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-98/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* Atsushi Nemoto writes:Eric Andersen2006-07-031-15/+1
| | | | | | | | | | | | current pipe.S seems broken for error case. For example, "la t0, __syscall_error" should be "la t9, __syscall_error"? Jumping to __syscall_error without reverting sp is correct? I updated this patch against recent snapshot and tested: it looks OK. * Get rid of saving/restoring a0. No need to adjust sp. * Fix code in error path.
* Atsushi Nemoto points out there is no more need for mips-specific ptrace.hMike Frysinger2006-07-031-136/+0
|
* Joseph S. Myers writes: The MIPS <bits/mman.h> header is missing definitions ↵Mike Frysinger2006-04-211-0/+9
| | | | of POSIX_MADV_*
* sync with glibcMike Frysinger2006-04-211-1/+9
|