summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/arm/bits
Commit message (Collapse)AuthorAgeFilesLines
* arm/bits/atomic.h: Include common/bit/atomic.h for thumb1Khem Raj2011-03-141-0/+5
| | | | | | | This restores the behavior for thumb1 builds and yet uses the new atomic.h for arm and thumb2 modes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* 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>
* arm: use CAS gcc builtin if SI-mode pattern is availableBernhard Reutner-Fischer2011-02-111-8/+17
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* arm: mv nptl specific atomic impl to common placeBernhard Reutner-Fischer2011-02-091-0/+122
| | | | | | Thanks to Nitin Garg for notincing! Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* silence shadow warningsBernhard Reutner-Fischer2010-07-141-21/+21
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* arm: Silence warning about shadow declarationsKhem Raj2010-07-071-9/+9
| | | | | | | | | libc/inet/socketcalls.c: In function ‘__libc_recvfrom’: libc/inet/socketcalls.c:229:1: warning: declaration of ‘_sys_result’ shadows a previous local libc/inet/socketcalls.c:229:1: warning: shadowed declaration is here Signed-off-by: Khem Raj <raj.khem@gmail.com>
* bits/mmap.h: unify ala linux asm-generic effortsMike Frysinger2009-11-231-103/+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-2/+0
| | | | | | | 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>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-08-301-0/+8
| | | | | | | | This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-14/+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>
* Fix ARM syscall argument loading.Joseph Myers2009-07-141-14/+21
| | | | | | | | | | | This patch is a uClibc equivalent of <http://sourceware.org/ml/libc-ports/2008-11/msg00006.html>, to compute all syscall arguments on ARM in temporary variables before loading them into register variables. The principle is as for that glibc patch; the problem I actually observed was a GCC internal compiler error building ld.so for Thumb-2. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-8/+8
| | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* syscall: unify common syscall definesMike Frysinger2009-07-081-71/+0
| | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-031-0/+9
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* mknod: widen the parameters to match kernelDenis Vlasenko2009-03-031-1/+1
| | | | | | | | | ustat: same, + remove superfluous "conversion" which does nothing at best, loses high dev bits at worst i386/bits/kernel_stat.h: update to reflect reality (wider dev_t) h8300/bits/kernel_stat.h: same arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
* - 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-8/+0
|
* - arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__Bernhard Reutner-Fischer2008-09-251-0/+4
| | | | (75_all_uClibc-arm-ftruncate64.patch from gentoo)
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-161-4/+0
| | | | Tested successfully on i386..
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-234-7/+7
|
* - pull fix for unwinding from the NPTL branch (Johannes Stezenbach)Bernhard Reutner-Fischer2008-07-171-6/+10
| | | | Repair C89 compliance and severe whitespace-defects while at it.
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-3/+6
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* Wire up vmsplice, splice and tee for arm.Khem Raj2008-05-031-11/+14
|
* Cleanup INTERNAL_SYSCALL macros for ARM.Khem Raj2008-04-231-80/+35
|
* Paul Brook writes:Bernhard Reutner-Fischer2008-03-261-0/+28
| | | | | | | | | | | | | | | The attached patch adds support for compiling arm uClibc as pure Thumb code. This is needed because some recent ARM codes do not implement traditional ARM mode. Specifically: * Cortex-M1 - An extremely minimal FPGA based core that only implements Thumb-1 (aka ARMv6-M). * Cortex-M3 - A Thumb-2 only ARMv7-M core. Most of uClibc already builds in Thumb mode, all that is left are a handful of assembly bits. Tested on arm-uclinuxeabi.
* 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
* ARM SHMLBA = (4 * PAGE_SIZE). Currently in uclibc arm used shm.h fromCarmelo Amoroso2007-11-201-0/+103
| | | | | | | | | common directory where SHMLBA = __getpagesize() This patch fixes the issue. Khem Raj MontaVista Software Inc.
* Sync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints.Khem Raj2007-03-081-7/+2
|
* Fix compiler warning about shadowed declaration.Khem Raj2007-03-011-20/+20
|
* 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
* Add mmap function needed for ARM EABI and define thumb specific ↵Khem Raj2006-10-071-0/+23
| | | | INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.
* Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmpKhem Raj2006-08-311-1/+1
|
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* fixups from psm for ASSEMBLER handlingMike Frysinger2006-08-241-20/+21
|
* fix from psm: just use common resource.hMike Frysinger2006-08-241-209/+0
|
* s/ifdef ASM/ifndef ASM/ as point out by psmMike Frysinger2006-08-241-1/+1
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+5
|
* sync with upstream via psmMike Frysinger2006-08-234-90/+97
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-212-157/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* Update ARM EABI kernel interface due to layout and size of struct stat64."Steven J. Hill"2006-06-241-0/+4
|
* sync with glibcMike Frysinger2006-04-211-6/+12
|
* sync with glibcMike Frysinger2006-03-291-3/+17
|
* John Bowler writes in Bug 385:Mike Frysinger2006-01-311-0/+27
| | | | | | | This is a work round for a fairly serious GCC compiler bug - when the syscall assembler overwrites r7 (required on thumb) the compiler fails to protect the register when it is using it as a frame pointer.
* Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger2006-01-292-3/+42
|
* rename _sys_result var to get rid of shadow warningsMike Frysinger2006-01-291-5/+5
|