summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/arm/bits
AgeCommit message (Collapse)Author
2009-10-07clean up O_CLOEXEC handlingMike Frysinger
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>
2009-08-30honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer
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>
2009-07-26enable nanosecond stat support for everyoneMike Frysinger
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>
2009-07-14Fix ARM syscall argument loading.Joseph Myers
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>
2009-07-09syscall: unify part 2: NCS varietyMike Frysinger
Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-08syscall: unify common syscall definesMike Frysinger
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>
2009-07-03uClibc_arch_features: sync defines between portsMike Frysinger
Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-03-03mknod: widen the parameters to match kernelDenis Vlasenko
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
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-11-15- revert wrong r24049Bernhard Reutner-Fischer
2008-11-15- Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer
2008-10-03- add long double math wrappers (Ned Ludd)Bernhard Reutner-Fischer
2008-09-25- arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__Bernhard Reutner-Fischer
(75_all_uClibc-arm-ftruncate64.patch from gentoo)
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-17- pull fix for unwinding from the NPTL branch (Johannes Stezenbach)Bernhard Reutner-Fischer
Repair C89 compliance and severe whitespace-defects while at it.
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-05-03Wire up vmsplice, splice and tee for arm.Khem Raj
2008-04-23Cleanup INTERNAL_SYSCALL macros for ARM.Khem Raj
2008-03-26Paul Brook writes:Bernhard Reutner-Fischer
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.
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-11-20ARM SHMLBA = (4 * PAGE_SIZE). Currently in uclibc arm used shm.h fromCarmelo Amoroso
common directory where SHMLBA = __getpagesize() This patch fixes the issue. Khem Raj MontaVista Software Inc.
2007-03-08Sync kernel_stat64 with kernel. Thanks to Daniel Jacobowitz for hints.Khem Raj
2007-03-01Fix compiler warning about shadowed declaration.Khem Raj
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-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-10-07Add mmap function needed for ARM EABI and define thumb specific ↵Khem Raj
INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.
2006-08-31Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmpKhem Raj
2006-08-24fix from psm: enable readahead prototypeMike Frysinger
2006-08-24fixups from psm for ASSEMBLER handlingMike Frysinger
2006-08-24fix from psm: just use common resource.hMike Frysinger
2006-08-24s/ifdef ASM/ifndef ASM/ as point out by psmMike 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-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-06-24Update ARM EABI kernel interface due to layout and size of struct stat64."Steven J. Hill"
2006-04-21sync with glibcMike Frysinger
2006-03-29sync with glibcMike Frysinger
2006-01-31John Bowler writes in Bug 385:Mike Frysinger
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.
2006-01-29Patch by Joseph S. Myers to add support for ARM EABIMike Frysinger
2006-01-29rename _sys_result var to get rid of shadow warningsMike 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
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-11-10add support for cirrus maverick fpu using patch for glibc ↵Mike Frysinger
http://yann.poupet.free.fr/ep93xx/
2005-11-10sync with glibcMike Frysinger