summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
AgeCommit message (Collapse)Author
2003-03-05The vfork system call on powerpc seems to be completelyEric Andersen
broken. Use fork instead, per glibc behavior.
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-02-24Fixup some small issues that show up when large file support is disabledEric Andersen
2003-02-18Fixup ioctl so we can special case powerpc sillinessEric Andersen
2003-02-16Fixup powerpc syscalls to eliminate warnings with gcc-3.2, and fixEric Andersen
some other minor warnings.
2003-01-24Fix powerpc struct kernel_stat typesEric Andersen
2003-01-24A few more needed updatesEric Andersen
2003-01-24Finish up fixing stat and setting various system types.Eric Andersen
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-23Shuffle two lines so the comment applies to the correct line.Eric Andersen
2003-01-23Rewrite powerpc crt0.S for proper ctor/dtor handlingEric Andersen
2002-12-21Be sure we have a crt1.o file. Use the asm version by default.Eric Andersen
-Erik
2002-11-15This draws from an old patch by David Blythe for the now-deadEric Andersen
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
2002-11-07Fixup function prototype for __uint128_t which fixes the compileEric Andersen
on powerpc with gcc 3.2. -Erik
2002-10-31Ok, this commit is _huge_ and its gonna change the world. I'veEric Andersen
been working on a new config system on and off for about 6 months now, but I've never been fully satisfied. Well, I'm finally am happy with the new config system, so here it is. This completely removes the old uClibc configuration system, and replaces it with an entirely new system based on LinuxKernelConf, from http://www.xs4all.nl/~zippel/lc/ As it turns out, Linus has just merged LinuxKernelConf into Linux 2.5.45, so it looks like I made the right choice. I have thus far updated only x86. I'll be updating the other architectures shortly. -Erik
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-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-15Patch for a silly bug from David BlytheEric Andersen
2002-04-17Change branch to fallthrough. Unclean, but it removes last R_PPC_REL24.David Schleef
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-04-10John Traill <john.traill@motorola.com> noticed that on powerpcEric Andersen
a dev_t is _not_ a quad type, but a simple int. Doh! We fixed that months ago, but subsequently lost the fix, so this restores things.
2002-04-10Make assembly code PIC-compatible.David Schleef
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-20oops. I had accidentally typed in "clean" when I meant "clone".Eric Andersen
This fix makes pthreads actaully work on powerpc. -Erik
2002-02-04Rework powerpc to be consistant with the other arches.Eric Andersen
-Erik
2001-12-19Update my email address. I am no longer andersen@lineo.comEric Andersen
2001-11-26Rewrite vfork() as C, should now work. Changed longjmp.S and setjmp.SDavid Schleef
to use GCC's internal ppc-asm.h, and added macro to disable FP save/ restore in longjmp and setjmp. Fixed name of _setjmp() (was __setjmp). Fixed _setjmp to be PIC.
2001-11-26Remove unused fileDavid Schleef
2001-11-15This is a .c fileEric 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-14Make it obvious that dtype is disabledEric Andersen
2001-11-12Notes about how powerpc/bits was constructed.David Schleef
2001-11-10Added winsize structure from before glibc-2.2.4 updateDavid Schleef