summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc
Commit message (Collapse)AuthorAgeFilesLines
* *: if !HAS_THREADS strong alias sigactionBernhard Reutner-Fischer2012-01-281-0/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: fixup sigaction handlingBernhard Reutner-Fischer2012-01-281-2/+1
| | | | 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>
* sparc: fix build for linuxthreads.oldRob Landley2011-10-271-1/+1
| | | | | | | | | sparc target has assembly implementations of clone.S that doesn't get used, and thus the build breaks. Also, sparc is missing a header file in pthreads.old that exists in pthreads.new. Signed-off-by: Rob Landley <rob@landley.net> Signed-off-by: Austin Foxley <austinf@cetoncorp.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>
* sparc: don't access fp registers when configured for no fpuAustin Foxley2011-04-221-0/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remove trailing ';' from _syscallX()Peter S. Mazinger2011-03-091-1/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/statvfs.h: the common one is good for alpha and sparcPeter S. Mazinger2011-03-091-106/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* 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>
* remove ucontext.h and guard sigstack structure with SUSV4_LEGACY and ↵Peter S. Mazinger2011-03-031-0/+2
| | | | | | | | | | STRICT_HEADERS Remove ucontext.h if SUSV4_LEGACY is not set and fix it's references. Guard sigstack structure with SUSV4_LEGACY and STRICT_HEADERS. Disable sigstack function prototype, it is not provided by uClibc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* sync bits/socket.h PF_* / AF_* values with 2.6.38-rc3Peter Korsgaard2011-02-091-1/+21
| | | | | | | | | A number of new address / protocol families have been added over the years, so sync with Linux 2.6.38-rc3, adding CAN, ISDN, Phonet, Zigbee, .. which are starting to be used by applications. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sparc: check for log double support in gccKonrad Eisele2010-12-271-0/+6
| | | | | | | | | To compile the quad float emulation library gcc needs __LONG_DOUBLE_128__ macro defined. Check first, if not supported then revert to the qp_ops.c stubs Signed-off-by: Konrad Eisele <konrad@gaisler.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Adding quad float gcc intrinsic implementation for SPARCAustin Foxley2010-11-1841-2/+7220
| | | | | | | | | Sparc-Gcc generates q_xxx intrinsic calls for quad float ("long double") code. The routines from glibc's glibc-2.9/sysdeps/sparc/sparc32/soft-fp/* where taken and ported to uclibc. Signed-off-by: Konrad Eisele <konrad@gaisler.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc: pipe.SAustin Foxley2010-10-011-1/+1
| | | | | | return value of pipe on success is supposed to be 0 Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* use uniform form of C99 keywordsBernhard Reutner-Fischer2010-06-242-11/+11
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix nptl build for sparcAustin Foxley2010-02-171-1/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sigaction: revert change. These semantics are needed for nptlAustin Foxley2010-02-131-4/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sysdep: Unify sparc sysdep.hAustin Foxley2010-02-131-0/+65
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merge commit 'origin/master' into nptlAustin Foxley2010-02-051-5/+4
|\ | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * Unbreak build for sparc on some config'sAustin Foxley2010-02-031-5/+4
| | | | | | | | | | | | Thanks to rob@landley.net Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2009-11-281-0/+2
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * nommu: use MAP_UNINITIALIZE for mallocsMike Frysinger2009-11-231-0/+2
| | | | | | | | | | | | | | | | | | Now that the kernel supports MAP_UNINITIALIZE, have the malloc places use it to get real uninitialized memory on no-mmu systems. This avoids a lot of normally useless overhead involved in zeroing out all of the memory (sometimes multiple times). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * sparc: use fputs to write to stderrMike Frysinger2009-10-221-1/+1
| | | | | | | | | | | | | | This also has the advantage of fputs() having a hidden alias while puts does not. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * sparc: use HIDDEN_JUMPTARGET for errnoMike Frysinger2009-10-223-3/+3
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* | sparc: use fputs to write to stderrMike Frysinger2009-11-091-1/+1
| | | | | | | | | | | | | | | | This also has the advantage of fputs() having a hidden alias while puts does not. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc: use HIDDEN_JUMPTARGET for errnoMike Frysinger2009-11-093-3/+3
| | | | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc specific bits needed for nptlAustin Foxley2009-10-175-32/+511
|/ | | | | | | * a tweaked clone.S with RESET_PID support * atomic.h with cmpxchg that works for v8 and beyond Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc qops: unify & shrinkMike Frysinger2009-10-151-51/+40
| | | | | | | | | We don't really need to know the exact symbol that caused a failure as long as we know where to start looking. So unify the duplicate code between all funcs and between the sparc variants. This gives us a nice code shrink of ~95%. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-071-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>
* sparc: add stubs for more of the _Q* opsAustin Foxley2009-10-051-0/+12
| | | | | | Thanks to Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc specific bits/socket.hAustin Foxley2009-09-251-0/+356
| | | | | | | use socketcall for sparc32 since it does not have the individual socket syscalls Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc sigaction.c: fix the noted bugs by syncing up with glibcAustin Foxley2009-09-211-30/+16
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-181-6/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* 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>
* always define float_t as floatBernhard Reutner-Fischer2009-09-171-19/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sparc/sigaction.c: note possible bugs by comments. style fixesDenys Vlasenko2009-09-091-49/+57
| | | | | | no code is actually changed Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-08-303-8/+10
| | | | | | | | 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-2/+6
| | | | | | 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-14/+9
| | | | | | | | | | | | | 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>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-5/+0
| | | | | | | 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-81/+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>
* sparc: Update syscalls.h to define INTERNAL_SYSCALLAustin Foxley2009-07-061-70/+119
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* 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>
* Add working pipe implementation for sparcAustin Foxley2009-05-263-3/+69
| | | | | | Also get rid of warning in sparc sigaction Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a sigaction implementation for sparcAustin Foxley2009-05-202-1/+95
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.Rob Landley2009-03-271-1/+2
| | | | The new guard symbol is "__SPARC_POSIX_TYPES_H".
* remove some duplicates in bits/signum.h. No code changes.Denis Vlasenko2008-12-151-20/+0
| | | | | | | | | | | include/signal.h | 42 +++++++++++++++++++------------- libc/sysdeps/linux/alpha/bits/signum.h | 19 -------------- libc/sysdeps/linux/common/bits/signum.h | 22 ---------------- libc/sysdeps/linux/hppa/bits/signum.h | 17 ------------ libc/sysdeps/linux/mips/bits/signum.h | 23 +---------------- libc/sysdeps/linux/sparc/bits/signum.h | 20 --------------- 6 files changed, 27 insertions(+), 116 deletions(-)