summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/nios2
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* nios2: Correct guard #defines in bits/kernel_types.hTobias Klauser2011-03-081-3/+3
| | | | | | | | | The guards in posix_types.h are called _ASM_NIOS2_POSIX_TYPES_H, so correctly use them here. Otherwise we wont be able to build uClibc with headers exported from the current nios2 kernel. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nios2: Name architecture correctly in endian.h headerTobias Klauser2011-02-011-1/+1
| | | | | | | Nios II is not i386 :-) Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* nios2: Define INTERNAL_SYSCALL_NCS, use common sycall definesTobias Klauser2010-03-181-274/+85
| | | | | | | | | | Define the nios2 version of INTERNAL_SYSCALL_NCS and remove all sycall defines already defined by the common syscall defines. This will make the master branch of uClibc compile again for nios2. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nios2: Update fcntl.h from m68kTobias Klauser2010-03-181-2/+4
| | | | | Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nios2: Add sys/user.hTobias Klauser2010-03-161-0/+93
| | | | | | | | | | | This is a fixed version containing copyright information. The patch should now apply using 'git am'. linux/user.h is no longer exported during kernel make headers_install Signed-off-by: Atle Nissestad <atle@nissestad.no> Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* bits/mmap.h: unify ala linux asm-generic effortsMike Frysinger2009-11-231-85/+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>
* fcntl.h: drop unused/dead O_STREAMINGMike Frysinger2009-10-071-1/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-181-1/+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>
* 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>
* 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>
* add missing UTIME_* defines for *at funcsMike Frysinger2009-07-261-0/+5
| | | | | | I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* enable nanosecond stat support for everyoneMike Frysinger2009-07-262-18/+41
| | | | | | | | | | | | | 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>
* 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>
* next portion of libc_hidden_proto removalDenis Vlasenko2008-11-201-1/+1
|
* - 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
|
* - 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
|
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-10/+23
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* - fixup asm. No object-code changesBernhard Reutner-Fischer2008-04-243-19/+19
|
* 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
* Atle Nissestad writes: The attached patch fixes compilation of the current ↵Mike Frysinger2007-01-056-44/+312
| | | | svn on the nios2 platform, and updates the crt1/n/i.S files to get CTOR/DTOR-support to work.
* 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.
* add some warnings to archs that need a bit of attentionEric Andersen2006-12-081-0/+1
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* fix from psm: just use common resource.hMike Frysinger2006-08-241-209/+0
|
* sync with upstream via psmMike Frysinger2006-08-232-5/+46
|
* fixes from psm: use new clone definitionMike Frysinger2006-08-231-1/+2
|
* fixes from psm: hide internal brk symbolsMike Frysinger2006-08-231-3/+2
|
* fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger2006-08-231-0/+2
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-26/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* Remove all non-constant libc_hidden_data_def(), it is too unreliable, sorry, ↵Peter S. Mazinger2006-03-101-4/+0
| | | | most of global data relocations are back
* Weaken all internal vfork versions in asm code, wondering why only some of ↵Peter S. Mazinger2006-02-131-1/+1
| | | | the archs fail
* I will risk this one: __curbrkPeter S. Mazinger2006-02-011-0/+3
|
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* fork/vfork weak in libc, strong in libpthreadPeter S. Mazinger2006-01-241-6/+10
|
* kill off redefined warningsMike Frysinger2006-01-231-0/+29
|
* Change to sane defaultsPeter S. Mazinger2006-01-191-5/+10
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+34
| | | | specific header file to make porting/updates a lot easier
* Thomas Chou: fix misplaced commentMike Frysinger2006-01-151-1/+1
|
* make DODEBUG=y happy, update sysdeps/common/* copyrightPeter S. Mazinger2006-01-142-5/+5
|
* hidden_def/hidden_proto: convert all users (I hope) termios split, add some ↵Peter S. Mazinger2006-01-144-15/+13
| | | | missing headers, other jump relocs removed
* Thomas Chou says in bug 618: add missing __vfork: labelMike Frysinger2006-01-111-1/+1
|
* remove unused symbolsMike Frysinger2006-01-101-3/+0
|