summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/powerpc/bits
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* always define float_t as floatBernhard Reutner-Fischer2009-09-181-21/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-032-5/+7
| | | | | | | | | 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-1/+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-16/+11
| | | | | | | | | | | | | | 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>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-14/+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-54/+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-1/+6
| | | | | | | | 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>
* Get rid of the following annoying warnings on ppc:Denis Vlasenko2009-01-031-17/+18
| | | | | | warning: nested extern declaration of '__illegally_sized_syscall_argN' From Stefan Assmann (sassmann AT suse.de)
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-291-7/+7
|
* Synch with trunk @ 24160Carmelo Amoroso2008-11-273-13/+7
| | | | | | 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-315-29/+29
| | | | | | | 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 libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-189-51/+551
| | | | trunk
* 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-209/+0
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-248-54/+235
|
* Removal as per trunk."Steven J. Hill"2006-08-222-136/+0
|
* Merge from trunk."Steven J. Hill"2006-08-211-1/+2
|
* Merge from trunk."Steven J. Hill"2006-08-182-5/+11
|
* Merge from trunk."Steven J. Hill"2006-02-2810-85/+168
|
* Merge from trunk."Steven J. Hill"2005-12-021-0/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-7/+40
|
* Merge from trunk."Steven J. Hill"2005-09-211-10/+13
|
* Sync with trunk."Steven J. Hill"2005-09-172-33/+734
|
* More merges with main trunk."Steven J. Hill"2005-07-301-0/+93
|
* A merging we will go. A merging we will go. Hi ho the merrio' a merging we ↵"Steven J. Hill"2005-07-251-3/+2
| | | | will go.
* Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund2005-05-071-0/+113
| | | | | | | see http://uclibc.org/lists/uclibc/2005-May/011667.html for details. Not tested by me but I am sure Peter will :) The toolchain needs to be rebuilt.
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-242-0/+61
| | | | syscalls. This won't work on 2.2 kernels(I think).
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Add missing definition for O_DIRECTEric Andersen2004-12-061-8/+7
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-31/+0
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-5/+5
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+2
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* Some updates from glibc. mjn3 reports this fixes profilingEric Andersen2003-09-071-4/+8
| | | | on i386, at least, so seems like a good thing.
* Use the common version for bits/sem.h. Fixup the types toEric Andersen2003-08-141-87/+0
| | | | match the kernel type exactly.
* For sparc, powerpc, mips, and alpha we should also use theEric Andersen2003-08-041-79/+0
| | | | | common ipc.h header and struct definitions. -Erik
* Remove the arch specific shm.h and use the fixed up commonEric Andersen2003-08-011-94/+0
| | | | | one which now uses the kernel structs -Erik
* Implement syscall() for powerpc. Fixup syscall code soEric Andersen2003-06-151-12/+13
| | | | | it compiles properly with gcc 3.3. -Erik
* Initial effort at adding profiling support.Eric Andersen2003-03-035-0/+218
|
* Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fixEric Andersen2003-02-161-5/+5
| | | | some other minor warnings.
* Fix powerpc struct kernel_stat typesEric Andersen2003-01-241-19/+18
|
* A few more needed updatesEric Andersen2003-01-242-148/+205
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-1/+1
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-70/+4
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* This draws from an old patch by David Blythe for the now-deadEric Andersen2002-11-151-44/+55
| | | | | | | unified syscall interface. I reworked his old patch considerably and cleaned up his version of bits/syscalls.h with some sneaky macro magic. And I implemented a powerpc correct version of pread/pwrite -Erik
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-052-4/+4
|
* Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen2002-08-281-1/+0
|
* Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen2002-08-271-0/+5
| | | | -Erik
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-271-0/+4
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.