summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sh/bits
Commit message (Collapse)AuthorAgeFilesLines
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* move the sh64 code out of the sh headerMike Frysinger2006-01-201-3/+1
|
* 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/+39
| | | | specific header file to make porting/updates a lot easier
* Fixup byte order handling. Not all architectures define __BIG_ENDIAN__ so i.e.Eric Andersen2005-12-141-4/+4
| | | | | | on big endian mips the code is compiled as little-endian and the wrong half of the 64-bit point value is examined to check for NaN, etc. This bug also broke fpclassify(), isfinite(), isnormal(), isinf(), finite(), and signbit().
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* we want to compare the register value itself, not the address of the ↵Mike Frysinger2005-11-171-2/+2
| | | | variable holding the register value
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-2/+2
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
* sync with glibc and fix warning when building pthreadsMike Frysinger2005-11-161-2/+4
|
* sync with glibcMike Frysinger2005-11-091-2/+6
|
* remove duplicated _syscall6 definitions and unify them with a defineMike Frysinger2005-08-081-1/+4
|
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+419
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* Fix trapa value for _syscall6() to conform with new sh syscall ABI.Paul Mundt2005-05-071-1/+1
| | | | | | | | The old sh system call interface used 0x00 - 0x0f for the trapa value (number of arguments), whereas the new ABI uses the 0x10 - 0x1f range. For some reason we were using an off-by-1 trapa immediate which ended up trashing r1 in the _syscall6() case, so we fix it up..
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-211-83/+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-1/+1
|
* 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
* Some updates from glibc. mjn3 reports this fixes profilingEric Andersen2003-09-071-6/+6
| | | | on i386, at least, so seems like a good thing.
* Patch from Stefan Allius:Eric Andersen2003-03-071-0/+5
| | | | fix a couple of gcc 3.3 compiler warnings in gmon.c
* Patch from Stefan Allius to finish off the last required bitsEric Andersen2003-03-061-25/+76
| | | | for gmon profiling support for the SuperH target.
* Initial effort at adding profiling support.Eric Andersen2003-03-034-0/+115
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-60/+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
|
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-052-3/+3
|
* 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/+55
| | | | | __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/+87
| | | | | specific bits/kernel_stat.h file. -Erik
* Doh! I broke it. oops. Patch from Stefan Allius to fix it.Eric Andersen2002-08-091-1/+1
|
* I reworked syscalls.h to match how I'm doing other arches. Stefan Allius andEric Andersen2002-08-081-5/+129
| | | | | | Edie C. Dost has some concerns about the perl script used to general crti.o and crtn.o and added their own versions. These versions will win since they are built last,
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-101/+10
| | | | | | 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
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0165-7800/+5
| | | | | and to better support each arch. This is a really big patch... -Erik
* Oops. Disable threading.Eric Andersen2002-01-021-2/+2
| | | | -Erik
* Sync SH header files with glibc 2.2.4, so it can actually have a chanceEric Andersen2002-01-0270-965/+1890
| | | | | (at least in theory) of working. -Erik
* Scrub up some lingering problems preventing readdir64 from workingEric Andersen2001-11-141-0/+3
| | | | | | and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
* Patch from David McCullough <davidm@lineo.com>:Eric Andersen2001-10-041-69/+10
| | | | | | | | | | | | | | * reduce the sigset types to 32 bits (I've mentioned this before) I think I saw this change go in for another platform anyway ;-) * Do not use _IO_FILE as it clashes with the C++ libraries which know too much about how glibc workds :-( * Do not use _G_va_list for the same reason. * remove the CTORS/DTORS from crt0.S for ARM as the compiler provided crtbegin.o and crtend.o have these (and only these) already in them and you get multiple defined errs :-(
* Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough2001-07-115-0/+19
| | | | | | it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
* Changes to support autogenerated syscall.hDavid McCullough2001-06-282-226/+1
|
* the minimum needed for nowDavid McCullough2001-06-271-0/+4
|
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-271-2/+11
|
* Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen2001-05-071-1/+1
| | | | | | | so there is no reason to allocate 4k. Change working of execvep.c per patch from Matthias Kilian <kili@outback.escape.de> so that there is not a fixed 127 byte buffer. Too easy to overflow... -Erik
* Remove all the __THROW macrosEric Andersen2001-04-192-12/+12
|
* Add an SH port done by Jean-Yves Avenard of Hewlett-Packard - EmbeddedEric Andersen2001-02-2167-0/+7869
and Personal Systems. Thanks! -Erik