summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/bfin
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-0/+2
| | | | | | | | 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>
* fcntl.h: drop unused/dead O_STREAMINGMike Frysinger2009-10-161-1/+0
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-191-12/+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>
* Blackfin: fix incorrect attribute orderMike Frysinger2009-08-191-1/+1
| | | | | | | | | | | | | | | | | | The order of attributes in a function definition matters and in a few places in the Blackfin code, it was being applied to the return type instead of the function itself. In file included from ldso/ldso/ldso.c:43: ldso/ldso/bfin/elfinterp.c: At top level: ldso/ldso/bfin/elfinterp.c:42: warning: '__visibility__' attribute ignored on non-class types In file included from ldso/ldso/bfin/elfinterp.c:341, from ldso/ldso/ldso.c:43: libc/sysdeps/linux/bfin/crtreloc.c: At top level: libc/sysdeps/linux/bfin/crtreloc.c:91: warning: 'visibility' attribute ignored on non-class types Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* create real common vfork() functionMike Frysinger2009-08-192-21/+1
| | | | | | | | | | Rather than force people to always implement their own vfork(), have the default implementation be sane. For now, only the Blackfin port uses the new code. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Blackfin: fix typo in byteswap.h commitMike Frysinger2009-08-191-1/+1
| | | | | | | | The Blackfin port hasn't been compiling cleanly, so this typo was missed in the byteswap unification commit. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Blackfin: no need to load P5 for shared FLATJie Zhang2009-08-191-1/+0
| | | | | | | | The register is already loaded for us upon entry by the kernel. Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Blackfin: fix generation of Scrt1.o for FDPICJie Zhang2009-08-191-1/+1
| | | | | | Signed-off-by: Jie Zhang <jie.zhang@analog.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Blackfin: unify FDPIC/FLAT versions of cloneMike Frysinger2009-08-191-22/+8
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* byteswap: unify common definitionsMike Frysinger2009-08-191-76/+16
| | | | | | | | | | 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> Signed-off-by: Austin Foxley <austinf@cetoncorp.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(): create a common version based on INLINE_SYSCALL_NCS()Mike Frysinger2009-07-092-50/+1
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-2/+2
| | | | | | | | 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-145/+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>
* 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>
* Merged revisions 25669-25670,25673-25674 via svnmerge from Khem Raj2009-03-161-0/+57
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25669 | vapier | 2009-03-15 23:14:34 -0700 (Sun, 15 Mar 2009) | 1 line import user.h from the kernel as it is no longer exported by the kernel ........ r25670 | vapier | 2009-03-15 23:16:15 -0700 (Sun, 15 Mar 2009) | 1 line enable mprotect() regardless of MMU as some systems have MPUs which allows memory protection ........ r25673 | carmelo | 2009-03-16 06:33:27 -0700 (Mon, 16 Mar 2009) | 2 lines Added string.h header for strerr prototype. ........ r25674 | carmelo | 2009-03-16 06:36:39 -0700 (Mon, 16 Mar 2009) | 10 lines Fixed makefiles inclusion flow to pass actual configuration variable values. Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> ........
* Missing from bfin mergeCarmelo Amoroso2008-12-121-133/+0
|
* Synch with trunk @ 24379Carmelo Amoroso2008-12-117-55/+221
| | | | Step 22: merge bfin specific
* Synch with trunk @ 24160Carmelo Amoroso2008-11-2710-37/+34
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-313-4/+4
| | | | | | | 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>
* Remove obsolete files and synch with trunkCarmelo Amoroso2008-06-181-12/+0
|
* Synch libc bfin specific with trunkCarmelo Amoroso2008-06-1820-147/+304
|
* Merge from trunk."Steven J. Hill"2007-01-202-111/+104
|
* Merge from trunk."Steven J. Hill"2006-12-166-68/+67
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+12
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-245-14/+54
|
* Remove files that are no longer in trunk."Steven J. Hill"2006-08-231-29/+0
|
* Merge from trunk."Steven J. Hill"2006-08-1811-218/+361
|
* Copy from trunk."Steven J. Hill"2006-06-191-0/+66
|
* Copy from trunk."Steven J. Hill"2006-06-181-0/+115
|
* Merge from trunk."Steven J. Hill"2006-06-183-152/+180
|
* Copy from trunk."Steven J. Hill"2006-06-181-0/+142
|
* Merge from trunk."Steven J. Hill"2006-02-2815-164/+199
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-075-56/+180
|
* Merge from trunk."Steven J. Hill"2005-12-021-0/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-9/+13
|
* Merge from trunk."Steven J. Hill"2005-10-301-42/+15
|
* Big, huge fricking merge. Peter, if you touch the build system again I'm ↵"Steven J. Hill"2005-10-041-5/+3
| | | | going to smash your keyboard.
* merge parallel build supportMike Frysinger2005-01-251-5/+5
|
* Peter S. Mazinger: use ASFLAGS when compiling asm filesMike Frysinger2004-12-261-6/+4
|
* Add support for the Analog Devices Blackfin mmuless processorEric Andersen2004-12-2129-0/+1897