summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/sparc
Commit message (Collapse)AuthorAgeFilesLines
...
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-76/+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
* Update architecture specific support to consistantlyEric Andersen2003-01-231-6/+1
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* Rework sparc architecture support so it will compileEric Andersen2003-01-0212-212/+293
| | | | | and run. Seems to be working... -Erik
* Octal to hexEric Andersen2002-10-091-1/+1
|
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-053-6/+6
|
* 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/+11
| | | | | | | 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/+53
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-9/+1
| | | | | header, which is not directly usable for many architectures. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+58
| | | | | 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/+81
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-231-0/+134
| | | | -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-78/+0
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-211-1/+1
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-192-74/+17
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-181-3/+12
| | | | | need to translate these entities... -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
* Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III2002-07-151-73/+0
| | | | | | arch-specific constant value defined in bits/uClibc_clk_tck.h. Default is 100 (common/bits) but alpha uses 1024 following glibc. Override per arch as necessary.
* Use the default version in include/sys insteadEric Andersen2002-05-121-41/+0
|
* Fix dummy main reference so it works...Eric Andersen2002-04-141-5/+6
|
* Manuel and I were looking into a problem with applications failing to linkEric Andersen2002-04-141-0/+5
| | | | | | | | | | (undefined reference to `main') when the .o file containing main was contained in an static library(a '.a' ar archive). It turns out that due to its single pass nature, GNU ld was failing to pull it into the build. This sticks a dummy reference to main() into crt0.o, so that when an application is linked with the main() function in a static library, we can be sure that main() actually gets linked in. -Erik
* Remove the C++ support stubs, since these now live elsewhere andEric Andersen2002-03-161-6/+0
| | | | | these stubs were preventing the real stuff from working properly. -Erik
* Build our own crti.o and crtn.o with a cross arch method that IEric Andersen2002-03-131-1/+1
| | | | | can live with much better the what glibc does. -Erik
* Move syscall.h generation to the top level MakefileEric Andersen2002-03-011-1/+0
| | | | -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0151-5807/+722
| | | | | and to better support each arch. This is a really big patch... -Erik
* Adjust sparc port do it now actually works.Eric Andersen2002-02-0415-148/+1820
| | | | -Erik
* Be consistant about the ways in which asm/unistd.h mightEric Andersen2002-02-041-1/+5
| | | | | | be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
* Oops.Eric Andersen2002-02-041-153/+3
|
* Allow sparc code to at least compileEric Andersen2002-02-032-1/+156
|
* Add in syscalls.h for mipsel, thanks to Steven J. Hill.Eric Andersen2002-02-012-232/+1
| | | | Remove and ignore generated syscall.h files from sparc and mipsel.
* Mahe 'make clean' remove generated bits/syscall.h, asEric Andersen2002-01-071-1/+2
| | | | | noted by "Kim B. Heino" <Kim.Heino@bluegiga.com> -Erik
* Update my email address. I am no longer andersen@lineo.comEric Andersen2001-12-192-5/+5
|
* Oops. Forgot theseEric Andersen2001-11-145-0/+139
|
* 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
* Sync up sparc headersEric Andersen2001-11-1467-1264/+2287
|
* 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++.
* Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III2001-06-271-2/+11
|
* Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>Eric Andersen2001-06-122-2/+14
|
* Make sure these use the local sysdep.h header fileEric Andersen2001-06-123-2/+2
|
* Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef2001-05-261-0/+3
| | | | used on mipsel.)
* Move the default ptrace.c to common, but let arches override it (suchEric Andersen2001-05-161-3/+1
| | | | | as m68k which has some asm in its version). -Erik
* Ok, this should finish off my massive ro-organization. The sourceEric Andersen2001-05-121-3/+2
| | | | | | | | | tree is less messy now (which helps), all libraries are placed into uClibc/lib when compiling, all libraries now use a consistant mechanism for being built, all libraries use a consistant naming scheme where the lib name includes the uClibc version number, which makes ldconfig happy and willing to work with us. -Erik
* 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
* Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,Eric Andersen2001-05-048-2/+445
| | | | | | who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
* Remove all the __THROW macrosEric Andersen2001-04-192-12/+12
|
* Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III2001-03-061-0/+63
| | | | make clean works.
* I just grabbed the bits dir from glibc 2.1.3 on a sparc boxEric Andersen2001-03-0667-0/+7861
to facilitate the sparc porting work being done by Mathew Bosworth. -Erik