summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc
AgeCommit message (Collapse)Author
2003-01-24Ok, people are probably going to hate me for this... This commit changes theEric Andersen
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
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-02Rework sparc architecture support so it will compileEric Andersen
and run. Seems to be working... -Erik
2002-10-09Octal to hexEric Andersen
2002-10-09Support O_STREAMINGEric Andersen
2002-09-05Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader
2002-08-28Fix a silly bug notices by Ronald Wahl <rwa@peppercon.com>Eric Andersen
2002-08-27Make sure that bits/syscalls.h always includes bits/syscall.hEric Andersen
-Erik
2002-08-27Added __kernel_fsid_t to satisfy some apps that need it.David McCullough
Definitions taken from 2.4 kernel sources for each of the platforms.
2002-08-26Make bits/kernel_types.h include guard names match the includeEric Andersen
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
2002-08-25Finish off the bits/kernel_stat.h cleanup for properEric Andersen
__USE_FILE_OFFSET64 handling. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-24Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen
header, which is not directly usable for many architectures. -Erik
2002-08-23Split out the definition of struct stat into the new archEric Andersen
specific bits/kernel_stat.h file. -Erik
2002-08-23Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen
-Erik
2002-08-22Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen
-Erik
2002-08-21Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen
we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
2002-08-19Eliminate wrapping of struct stat and use the kernel versionEric Andersen
directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
2002-08-18Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen
need to translate these entities... -Erik
2002-07-22Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen
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
2002-07-15Clean up CLK_TCK situation. clock() and sysconf() now use anManuel Novoa III
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.
2002-05-12Use the default version in include/sys insteadEric Andersen
2002-04-14Fix dummy main reference so it works...Eric Andersen
2002-04-14Manuel and I were looking into a problem with applications failing to linkEric Andersen
(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
2002-03-16Remove the C++ support stubs, since these now live elsewhere andEric Andersen
these stubs were preventing the real stuff from working properly. -Erik
2002-03-13Build our own crti.o and crtn.o with a cross arch method that IEric Andersen
can live with much better the what glibc does. -Erik
2002-03-01Move syscall.h generation to the top level MakefileEric Andersen
-Erik
2002-03-01Major rework of the include files to eliminate redundancyEric Andersen
and to better support each arch. This is a really big patch... -Erik
2002-02-04Adjust sparc port do it now actually works.Eric Andersen
-Erik
2002-02-04Be consistant about the ways in which asm/unistd.h mightEric Andersen
be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik
2002-02-04Oops.Eric Andersen
2002-02-03Allow sparc code to at least compileEric Andersen
2002-02-01Add in syscalls.h for mipsel, thanks to Steven J. Hill.Eric Andersen
Remove and ignore generated syscall.h files from sparc and mipsel.
2002-01-07Mahe 'make clean' remove generated bits/syscall.h, asEric Andersen
noted by "Kim B. Heino" <Kim.Heino@bluegiga.com> -Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-14Oops. Forgot theseEric Andersen
2001-11-14Scrub up some lingering problems preventing readdir64 from workingEric Andersen
and creating several *64 problems, particualrly when client apps used -D_FILE_OFFSET_BITS=64 -D__USE_FILE_OFFSET64. All better now. -Erik
2001-11-14Sync up sparc headersEric Andersen
2001-07-11Added __BEGIN_DECLS and __END_DECLS to the files that didn't haveDavid McCullough
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
2001-06-27Yes... I forgot to update bits/dirent.h for the other archs. :-(Manuel Novoa III
2001-06-12Some sparc updates from Stanley <ngstanley@cwc.nus.edu.sg>Eric Andersen
2001-06-12Make sure these use the local sysdep.h header fileEric Andersen
2001-05-26Makefile targets to symlink arch-specific headers into include/ (onlyDavid Schleef
used on mipsel.)
2001-05-16Move the default ptrace.c to common, but let arches override it (suchEric Andersen
as m68k which has some asm in its version). -Erik
2001-05-12Ok, this should finish off my massive ro-organization. The sourceEric Andersen
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
2001-05-07Change FILENAME_MAX to be only 255. Max filename on ext2 is 255,Eric Andersen
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
2001-05-04Initial sparc port, thanks to Mathew Bosworth <mbosworth@metaflow.com>,Eric Andersen
who sent this to me a month ago and I forgot to check it in. Oops. Better late then never. -Erik
2001-04-19Remove all the __THROW macrosEric Andersen
2001-03-06Move fork to common/syscalls (with NO_MMU check). Add Makefile to sparc soManuel Novoa III
make clean works.
2001-03-06I just grabbed the bits dir from glibc 2.1.3 on a sparc boxEric Andersen
to facilitate the sparc porting work being done by Mathew Bosworth. -Erik