summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/cris/bits
Commit message (Collapse)AuthorAgeFilesLines
* bits/kernel_stat.h: no need for _LIBC guard, the file is not installed on targetPeter S. Mazinger2011-03-091-4/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/kernel_stat.h: use the same guard on all archsPeter S. Mazinger2011-03-091-2/+2
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/mmap.h: unify ala linux asm-generic effortsMike Frysinger2009-11-231-98/+0
| | | | | | | | | | Most ports have the same exact mman bit defines, so let's unify things like the linux kernel has with the asm-generic efforts. A few ports are left behind as they are non-trivial to merge -- the arch maintainers can tackle it if they care. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-071-0/+1
| | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-28/+6
| | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* byteswap: unify common definitionsMike Frysinger2009-07-211-71/+8
| | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: convert cris/hppa to common syscallsMike Frysinger2009-07-201-68/+4
| | | | | | | The cris/hppa code appears to be easy to convert, so go ahead and do it for them. Build tested only. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-031-1/+7
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* - 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
|
* File removed as it was not only redundant but also horribly out of date.Ricard Wanderlof2008-10-301-333/+0
|
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-1/+1
|
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-10/+23
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-241-3/+3
|
* 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-3/+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
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* use the common huge_val.h version nowMike Frysinger2006-08-241-81/+0
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-8/+3
|
* sync with upstream via psmMike Frysinger2006-08-231-0/+37
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-26/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* allow arches to easily override asm-line-sep, move cris over to new style, ↵Mike Frysinger2006-06-211-1/+1
| | | | and have hppa use it now
* Sync with glibc.Peter Kjellerstedt2006-05-301-3/+12
|
* sync with glibcMike Frysinger2006-04-211-2/+6
|
* Added support for the new CRISv32 architecture.Peter Kjellerstedt2006-02-231-0/+5
|
* Moved the definition of MMAP2_PAGE_SHIFT from ldso/ldso/cris/dl-syscalls.hPeter Kjellerstedt2006-02-231-0/+6
| | | | to libc/sysdeps/linux/cris/bits/uClibc_page.h where it belongs.
* Added a CRIS specific version of termios.h. It is identical toPeter Kjellerstedt2006-02-221-0/+210
| | | | | libc/sysdeps/linux/common/bits/termios.h with a couple of CRIS specific baud rates added.
* add syscall6Mike Frysinger2006-02-011-0/+8
|
* cris uses @ for asm line separationsMike Frysinger2006-01-261-0/+3
|
* Ricard Wanderlof writes:Mike Frysinger2006-01-261-33/+41
| | | | | | | | | Here's a patch to avoid a name clash between include/bits/byteswap.h and the kernel include file <linux/byteorder/swab.h> . (Normally both aren't included by the same file, but we've had one case where a conflict occurred at link time, thus necessitating the patch). I've also taken the opportunity to make the general structure and namespace of the file similar to the corresponding file for other archs.
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* 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/+34
| | | | specific header file to make porting/updates a lot easier
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-10/+12
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
* Add bswap_64 macro and uClibc_page.h. From Peter Kjellerstedt.Joakim Tjernlund2004-09-232-0/+55
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-28/+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
* Fix completely hosed up formattingEric Andersen2004-02-061-10/+10
|
* 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
* Updated to match the other architectures. Fixes problem with "fcntl:Tobias Anderberg2003-11-031-29/+67
| | | | function not implemented".
* Cosmetic changes.Tobias Anderberg2003-08-272-4/+5
|
* Remove the arch specific shm.h and use the fixed up commonEric Andersen2003-08-011-84/+0
| | | | | one which now uses the kernel structs -Erik
* Initial effort at adding profiling support.Eric Andersen2003-03-033-0/+82
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-1/+1
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-3/+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