summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/arm
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix building arm EABIBernhard Reutner-Fischer2009-10-081-0/+1
| | | | | | | | | | | | | | | The syscall() impl on aeabi comes from syscall-eabi.S thus we do not need the generic syscall() impl. Fixes: AS libc/sysdeps/linux/arm/syscall-eabi.os CC libc/sysdeps/linux/common/syscall.os libc/libc_so.a(syscall.os): In function `syscall': syscall.c:(.text+0x0): multiple definition of `syscall' libc/libc_so.a(syscall-eabi.os):(.text+0x0): first defined here Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-3/+0
| | | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-1810-22/+1
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Revert "syscall.c: Use common syscall.c for ARM"Khem Raj2009-09-183-0/+129
| | | | | | | | | This reverts commit b1913a876059949e6c309bafade55e9425ef33fb. OABI is still a requirement. So we override the common syscall implementation specifically for arm port. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* accidently let arm's sigaction.c sneak in when merging d990ec5891dfAustin Foxley2009-09-031-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-031-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Build posix_fadvice{64} only when UCLIBC_HAS_ADVANCED_REALTIME is set.Khem Raj2009-09-031-2/+5
| | | | | | | | | | Right now for ARM, MIPS, Xtensa and powerpc posix_fadvise routines are included conditionally. They should only be enabled when UCLIBC_HAS_ADVANCED_REALTIME is set. Also fix code style in powerpc/posix_fadvise64.c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-191-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix ARM syscall argument loading.Joseph Myers2009-08-191-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall.c: Use common syscall.c for ARMKhem Raj2009-08-023-129/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* build: Include Makefile.commonarch from common Makefile.inCarmelo Amoroso2009-07-291-2/+0
| | | | | | | | Avoid including akefile.commonarch in each Makefile.arch. Include it instead from Makefile.in just after the arch specific Makefile.arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Avoid warnings about shifting more bits than we haveRon2009-07-091-2/+4
| | | | | | | | | | The test here is a constant expression and will compile out. For platforms that don't need the shift the code gets slightly smaller and simpler, for those that do the result is unchanged. Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Provide token prototypes for functions that are external but have no headerRon2009-07-0910-28/+24
| | | | | | | | This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Fix Thumb-2 setjmp.Joseph Myers2009-07-091-1/+1
| | | | | | | | | Many Thumb-2 instructions cannot use sp or pc as operands, and the assembler now diagnoses these. setjmp had one such instruction, movs; this patch changes it to mov. Signed-off-by: Joseph Myers <joseph@codesourcery.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add missing CLIBABI variables __aeabi_stdin, __aeabi_stdout, __aeabi_stderr.Joseph Myers2009-07-091-0/+15
| | | | | | | | | | | | The ARM EABI has a document CLIBABI specifying various __aeabi_* functions and variables to be provided for the use of portable objects that can be linked with different EABI-conforming C libraries. __aeabi_stdin, __aeabi_stdout and __aeabi_stderr were missing in uClibc; this patch (originally from Nathan Froyd and for glibc) adds them. Signed-off-by: Joseph Myers <joseph@codesourcery.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* 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
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-222-6/+30
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Signal handling rework: two missing filesCarmelo Amoroso2009-01-221-64/+39
|
* - sync with trunk r24404 (no obj-code changes)Bernhard Reutner-Fischer2008-12-221-1/+1
|
* Synch with trunk @ 24160Carmelo Amoroso2008-11-2713-30/+27
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-181-3/+3
| | | | Step 10: libc_hidden_removal
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-317-17/+17
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* These are already unwired in kernel headers so dont worry about them in uclibcKhem Raj2008-07-171-18/+0
|
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-141-0/+18
| | | | | | could use alternative implementations for them. include sys/syscalls.h in pt-gettimeofday.c
* Save PID across vfork syscall. Create a __clone() aliased to clone(). Load ↵Khem Raj2008-07-102-5/+31
| | | | arguments from stack into registers before making clone syscall
* Do not use push/pop in inline asm. It breaks unwindingKhem Raj2008-07-101-6/+10
|
* Thumb atomic operations and makefile changes to accomodate NPTLKhem Raj2008-07-103-2/+14
|
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-1828-135/+705
| | | | trunk
* Merge from trunk."Steven J. Hill"2006-12-169-47/+169
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-161-209/+0
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+30
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-2413-149/+148
|
* Removal as per trunk."Steven J. Hill"2006-08-222-157/+0
|
* Merge from trunk."Steven J. Hill"2006-08-211-3/+0
|
* Merge from trunk."Steven J. Hill"2006-08-181-5/+2
|
* Merge from trunk."Steven J. Hill"2006-08-183-9/+33
|
* Merge from trunk."Steven J. Hill"2006-07-062-11/+34
|
* Merge from trunk."Steven J. Hill"2006-02-2834-113/+965
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-074-11/+14
|
* Finish up changes for sigaction and NPTL."Steven J. Hill"2005-12-101-1/+3
|
* Merge from trunk."Steven J. Hill"2005-12-103-9/+8
|
* Merge from trunk."Steven J. Hill"2005-12-081-0/+2
|
* Big merge from trunk. Stop the madness!"Steven J. Hill"2005-12-061-8/+4
|
* Merge from trunk."Steven J. Hill"2005-12-024-8/+7
|
* Sync up with trunk."Steven J. Hill"2005-11-191-1/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-1711-68/+191
|