summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/m68k/bits
Commit message (Collapse)AuthorAgeFilesLines
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-031-0/+4
| | | | | | | | | 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>
* m68k syscall: switch to common codeMaxim Kuvyrkov2009-08-191-156/+68
| | | | | | Signed-off-by: Maxim Kuvyrkov <maxim@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> 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-14/+8
| | | | | | | | | | | | | | 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>
* byteswap: unify common definitionsMike Frysinger2009-08-191-40/+10
| | | | | | | | | | The majority of the byteswap functions are the same across all arches, so setup a common header to provide definitions if they don't exist. This allows arches to override only the ones they actually want to implement with inline assembly. 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-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> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Synch with trunk @ 24160Carmelo Amoroso2008-11-272-10/+2
| | | | | | 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-18/+18
| | | | | | | 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>
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-2/+2
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-183-20/+31
| | | | trunk
* Merge from trunk."Steven J. Hill"2006-12-164-8/+15
|
* When you delete a '1' does it become '0' or tri-stated?"Steven J. Hill"2006-12-162-301/+0
|
* Big fricking merge from trunk, but an easy one."Steven J. Hill"2006-08-244-52/+98
|
* Removal as per trunk."Steven J. Hill"2006-08-221-64/+0
|
* Merge from trunk."Steven J. Hill"2006-08-184-24/+26
|
* Merge from trunk."Steven J. Hill"2006-02-286-25/+117
|
* Sync up with trunk."Steven J. Hill"2005-11-191-0/+1
|
* Massive merge from trunk."Steven J. Hill"2005-11-181-3/+24
|
* Copy from trunk."Steven J. Hill"2005-11-161-0/+35
|
* change the reg class so it actually compilesMike Frysinger2005-03-161-1/+1
|
* merge the syscalls and punt the glibc import in the process (blah, what a ↵Mike Frysinger2005-03-161-136/+154
| | | | waste of time that was :D)
* get rid of linux-headers hack ... rip code from glibcMike Frysinger2005-03-161-7/+169
|
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-3/+3
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+1
| | | | | | | | | '__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
* Initial effort at adding profiling support.Eric Andersen2003-03-033-0/+118
|
* A few more needed updatesEric Andersen2003-01-241-0/+134
|
* 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-33/+3
| | | | | | | | | | | | | | | 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
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Fixup JMPBUF_UNWINDS so that is will compile if used :-)David McCullough2002-09-171-1/+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/+8
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-3/+9
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-0/+30
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+29
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+58
| | | | | specific bits/kernel_stat.h file. -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-78/+0
| | | | -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-191-65/+9
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-4/+9
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Revert this file back to where it was so m68k can compile again.Eric Andersen2002-04-031-25/+22
| | | | | Oops. I'd hosed things up for m68k with the header file rework. -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0161-7421/+39
| | | | | and to better support each arch. This is a really big patch... -Erik
* Add in clone (untested)David McCullough2002-02-061-25/+22
| | | | | | | Fix up setjmp/longjmp which were quite broken not withstanding all the new versions. Needs a little more test time before I'll trust this code totally.
* Be consistant about the ways in which asm/unistd.h mightEric Andersen2002-02-041-2/+4
| | | | | | be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-2/+4
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* Turn off dtypeEric Andersen2001-11-141-1/+1
|
* Sync up m68k headersEric Andersen2001-11-1470-1225/+1920
|