summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/bits
Commit message (Collapse)AuthorAgeFilesLines
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-2/+2
|
* - add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer2008-10-031-6/+0
|
* sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using theCarmelo Amoroso2008-09-251-7/+8
| | | | | | __SH_SYSCALL_TRAP_BASE macro. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Add INTERNAL_SYSCALL macros for shCarmelo Amoroso2008-09-161-0/+145
|
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-232-4/+4
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-231-21/+21
|
* sh4 don't need to cope with older RLIMIT implementation.Carmelo Amoroso2008-07-081-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-12/+27
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* 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
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-5/+0
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* Merge SH-2 trapa fixups from Mark.Paul Mundt2006-10-232-20/+31
| | | | | | | | | | | | | | | | | | | | 2006-10-16 Mark Shinwell <shinwell@codesourcery.com> * libc/sysdeps/linux/sh/vfork.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/syscall.c: Use __SH_SYSCALL_TRAP_BASE. * libc/sysdeps/linux/sh/bits/uClibc_arch_features.h: Use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/bits/syscalls.h (__SH_SYSCALL_TRAP_BASE): New. Use instead of hard-coded trap numbers in the various __NR_<name> macros. * libc/sysdeps/linux/sh/clone.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/crti.S: Disable GOT-related code if __HAVE_SHARED__ is not set. * libc/sysdeps/linux/sh/pipe.c (pipe): Use __SH_SYSCALL_TRAP_BASE.
* Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide withPaul Mundt2006-08-251-0/+109
| | | | | | | the kernel's get_unmapped_area() behaviour. Ideally this should be more tightly packed based off of the L1 dcache shape, once we're able to handle it through the auxiliary vector.
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* fix from psm: just use common resource.hMike Frysinger2006-08-241-209/+0
|
* 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-233-60/+44
|
* import new headers from upstream via psmMike Frysinger2006-08-232-0/+141
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-33/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* sync with glibcMike Frysinger2006-04-211-1/+10
|
* sync with glibcMike Frysinger2006-03-291-17/+56
|
* only check for rlimit stuff if the target doesnt support the newer function ↵Mike Frysinger2006-02-101-0/+3
| | | | call, and dont bother with 64bit versions on 64bit hosts as the regular one works fine (should fix the setrlimit ltp tests)
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* move the sh64 code out of the sh headerMike Frysinger2006-01-201-3/+1
|
* Change to sane defaultsPeter S. Mazinger2006-01-191-5/+10
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+39
| | | | specific header file to make porting/updates a lot easier
* Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e.Eric Andersen2005-12-141-4/+4
| | | | | | on big endian mips the code is compiled as little-endian and the wrong half of the 64-bit point value is examined to check for NaN, etc. This bug also broke fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit().
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* we want to compare the register value itself, not the address of the ↵Mike Frysinger2005-11-171-2/+2
| | | | variable holding the register value
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-2/+2
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
* sync with glibc and fix warning when building pthreadsMike Frysinger2005-11-161-2/+4
|
* sync with glibcMike Frysinger2005-11-091-2/+6
|
* remove duplicated _syscall6 definitions and unify them with a defineMike Frysinger2005-08-081-1/+4
|
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+419
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* Fix trapa value for _syscall6() to conform with new sh syscall ABI.Paul Mundt2005-05-071-1/+1
| | | | | | | | The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up..
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-83/+0
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-1/+1
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* Some updates from glibc. mjn3 reports this fixes profilingEric Andersen2003-09-071-6/+6
| | | | on i386, at least, so seems like a good thing.
* Patch from Stefan Allius:Eric Andersen2003-03-071-0/+5
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* Patch from Stefan Allius to finish off the last required bitsEric Andersen2003-03-061-25/+76
| | | | for gmon profiling support for the SuperH target.
* Initial effort at adding profiling support.Eric Andersen2003-03-034-0/+115
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-60/+3
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|