summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/avr32
Commit message (Collapse)AuthorAgeFilesLines
* *: if !HAS_THREADS strong alias sigactionBernhard Reutner-Fischer2012-01-281-1/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* *: silence some warningsBernhard Reutner-Fischer2012-01-261-2/+3
| | | | | | warning: ISO C90 forbids mixed declarations and code [-Wdeclaration-after-statement] Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* */crtn.S: Remove .size directive for _init and _finiBernhard Reutner-Fischer2011-05-101-2/+0
| | | | | | | | | These are split across objects so setting size does not (and never did) work since the expression cannot be computed at assembly time. This avoids errors from recent (> 2.21) gas. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Revert "*/crt?.S: remove .size directives"Bernhard Reutner-Fischer2011-05-052-0/+3
| | | | | | Removing them generally was not a good idea This reverts commit 233c504cd940d9802226b6a3a092368b86978f5e.
* */crt?.S: remove .size directivesBernhard Reutner-Fischer2011-05-042-3/+0
| | | | | | sed -i -e '/\.size[[:space:]]/d' $(grep -l "\.size" libc/sysdeps/linux/*/crt*.[sSc]) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@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>
* silence shadow warningsBernhard Reutner-Fischer2010-07-141-15/+15
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* avr32: add varargs handling of prctl syscallHans-Christian Egtvedt2010-01-212-1/+37
| | | | | | | | prctl is defined to use varargs in the header file, hence it needs varargs specific handling in the source. This patch properly handles the variodic argument before the syscall is passed to the kernel for the AVR32 architecture. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.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-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>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-182-2/+0
| | | | | | | | 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: Bernhard Reutner-Fischer <rep.dot.nop@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>
* enable nanosecond stat support for everyoneMike Frysinger2009-07-261-16/+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>
* avr32/microblaze/vax: punt local byteswap.hMike Frysinger2009-07-201-70/+0
| | | | | | | These arches are generic C implementations of the byteswap functions, so rather than keep a useless local copy, use the common C one. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* 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>
* syscall: unify common syscall definesMike Frysinger2009-07-081-89/+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/+6
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sigaction overhaul as described in docs/sigaction.txtDenis Vlasenko2008-12-151-33/+9
| | | | | Run tested on i386.
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-131-2/+2
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* fix sigset_t size for mips (it's the only arch with 128 signals).Denis Vlasenko2008-12-011-6/+12
| | | | | | | fix _NSIG for it. better document what's going on in sigaction(). seems to not induce any actual code changes (sans mips).
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-203-3/+3
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-1/+1
|
* - revert wrong r24049Bernhard Reutner-Fischer2008-11-151-1/+1
|
* - Remove linux-specific prototypes if asked to.Bernhard Reutner-Fischer2008-11-151-1/+1
|
* Add extern reference to __libc_sigaction in sigaction.c for AVR32 archHans-Christian Egtvedt2008-11-031-0/+2
| | | | | Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* Sync clone() function declaration for AVR32 with sched.h declarationHans-Christian Egtvedt2008-11-031-1/+1
| | | | | | | | This patch fixes the previous commit for clone on AVR32 arch, where the function parameters where not updated after adding #include <sched.h>. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* Add hint for read ahead function in fcntl.h for AVR32 archHans-Christian Egtvedt2008-11-031-0/+3
| | | | | Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* Add include to silence compiler warning when compiling clone.c for AVR32Hans-Christian Egtvedt2008-11-031-0/+1
| | | | | Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* - trim superfluous ';'. No objcode changesBernhard Reutner-Fischer2008-10-281-1/+1
|
* avr32: add defines and prototype function for sync_file_range syscallHans-Christian Egtvedt2008-09-171-0/+15
| | | | | | | This patch adds the needed defines and function prototype for the sync_file_range syscall on AVR32 architecture. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* avr32: Put underscores around asm, inline, etc.Haavard Skinnemoen2008-07-232-10/+10
| | | | | This fixes build breakage introduced in r22868.
* avr32: splice(), vmsplice() and tee() supportHaavard Skinnemoen2008-05-281-0/+31
| | | | | Add the necessary prototypes and definitions for splice(), vmsplice() and tee() to work. Without this, they won't even compile.
* Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko2008-05-191-1/+1
| | | | | | | | | in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
* Fix whitespace damage in AVR32 in libc sysdeps AVR32 specific Linux files.Hans-Christian Egtvedt2008-04-2415-252/+252
|
* Fix whitespace damage in AVR32 libc sysdeps sys header files.Hans-Christian Egtvedt2008-04-244-77/+77
|
* Fix whitespace damage in AVR32 libc bits header files.Hans-Christian Egtvedt2008-04-2410-398/+398
|
* Use HIDDEN_JUMPTARGET define instead of __GI_ directly in AVR32 filesHans-Christian Egtvedt2008-02-202-2/+2
| | | | | | | This patch uses the HIDDEN_JUMPTARGET instead of the __GI_ prefix in AVR32 assembler files. This is done to follow the code style in uClibc. Signed-off-by: Hans-Christian Egtvedt <hcegtvedt@atmel.com>
* 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
* I don't remember exactly why we decided to pick the caller's value ofCarmelo Amoroso2007-12-071-1/+1
| | | | | | | | sa_restorer when SA_ONSTACK is set, but it seems to break LTP's sigaltstack testcase. Some users have reported problems with sigaltstack as well; hopefully this will fix it. Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
* Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso2007-11-1632-0/+1684
<hcegtvedt@atmel.com>