summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* 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>
* sparc qops: unify & shrinkMike Frysinger2009-10-161-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc: add stubs for more of the _Q* opsAustin Foxley2009-10-161-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 nptl: make sure correct clone.S and pt-vfork.S get in libpthreadAustin Foxley2009-09-221-2/+2
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/Makefile.arch: add back missing fork/vfork for non threads caseAustin Foxley2009-09-211-3/+6
| | | | 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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-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: Austin Foxley <austinf@cetoncorp.com>
* always define float_t as floatBernhard Reutner-Fischer2009-09-181-19/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc/sigaction.c: note possible bugs by comments. style fixesDenys Vlasenko2009-09-181-49/+57
| | | | | | | no code is actually changed Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-033-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add missing UTIME_* defines for *at funcsMike Frysinger2009-08-191-2/+6
| | | | | | | I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-192-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> 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: 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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-2/+8
| | | | | | | | 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>
* 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>
* Get sparc64 nptl compilingAustin Foxley2009-05-211-0/+102
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Adjust build of sigaction for the nptl caseAustin Foxley2009-05-201-1/+5
| | | | | | This brings sparc inline with other archs with nptl support 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>
* Merged revisions 25821,25823-25824,25836 via svnmerge from Khem Raj2009-03-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r25821 | aldot | 2009-03-25 12:27:56 -0700 (Wed, 25 Mar 2009) | 2 lines - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger) ........ r25823 | aldot | 2009-03-25 13:28:19 -0700 (Wed, 25 Mar 2009) | 8 lines - Add strtouq alias (to strtoul) for 64bit The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk> ........ r25824 | aldot | 2009-03-26 01:51:47 -0700 (Thu, 26 Mar 2009) | 2 lines - ignore objects ........ r25836 | landley | 2009-03-26 21:03:20 -0700 (Thu, 26 Mar 2009) | 3 lines 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28. The new guard symbol is "__SPARC_POSIX_TYPES_H". ........
* sparc atomic.h: resort to v7/v8 atomic operations in the static case, austinf2009-03-211-10/+12
| | | | | since we have no _dl_hwcap to test whether we can use v9 at runtime
* sparc32 nptl functionalaustinf2009-03-195-99/+519
| | | | | | | | | * pulled updated asm and headers from glibc for sparc32 * probably no cancellation support yet * no shared TLS relocs yet, since ldso is hosed on sparc still note: didn't use TARGET_SUBARCH method of includes since that would cause other parts of libc to fail currently. Will need to be fixed later.
* Synch whole signal handling rework with trunk. Tested on nptl-sh4.Carmelo Amoroso2009-01-221-24/+12
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* signal.h consolidation from trunk.Denis Vlasenko2008-12-231-20/+0
| | | | | No object code difference (tested on i386).
* Synch with trunk @ 24160Carmelo Amoroso2008-11-276-20/+14
| | | | | | 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-5/+5
| | | | | | | 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>
* Synch with trunk: remove obsolete filesCarmelo Amoroso2008-07-091-134/+0
|
* Synch libc sparc specific with trunkCarmelo Amoroso2008-06-1810-22/+152
|
* Merge from trunk."Steven J. Hill"2006-12-163-6/+7
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-161-321/+0
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-249-59/+173
|
* Removal as per trunk."Steven J. Hill"2006-08-222-124/+0
|
* Merge from trunk."Steven J. Hill"2006-08-211-3/+0
|
* Merge from trunk."Steven J. Hill"2006-08-184-15/+32
|
* Merge from trunk."Steven J. Hill"2006-02-2812-252/+227
|
* Big fricking merge from trunk."Steven J. Hill"2006-01-074-17/+18
|
* Merge from trunk."Steven J. Hill"2005-12-0211-88/+212
|
* Copy from trunk."Steven J. Hill"2005-12-011-0/+85
|
* Copy from trunk."Steven J. Hill"2005-12-011-0/+55
|
* Sync up with trunk."Steven J. Hill"2005-11-191-1/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-3/+7
|
* Massive merge from trunk."Steven J. Hill"2005-11-171-68/+8
|
* Sync with trunk."Steven J. Hill"2005-11-162-172/+0
|
* Copy from trunk."Steven J. Hill"2005-11-161-0/+14
|
* Merge from trunk."Steven J. Hill"2005-10-301-30/+22
|