summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/powerpc
AgeCommit message (Collapse)Author
2004-08-27Preliminary PIE support for powerpc, i386 was used as template.Joakim Tjernlund
Requested by Peter Mazinger. Testing wanted.
2004-08-21Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen
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
2004-07-30s/___brk_addr/__curbrk/gEric Andersen
Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
2004-05-14__data_start needs to be added to all crt0.S files that don't currentlyEric Andersen
have it. It is used by the boehm gc, amoung other things.
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-02-06Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen
'__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
2004-01-30Andrew May writes:Eric Andersen
Here are some simple fixes for things that broke for PPC with the recent syscall cleanup. I am not sure they are correct but they seem pretty trivial.
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it. Same applies to uClibc/libc/sysdeps/linux/powerpc/__longjmp.S Hope there aren't other files I've missed :)
2004-01-02rohde at soap dot adsl dot dk writes:Eric Andersen
The macro to do some floating point checks in libc/sysdeps/linux/powerpc/setjmp.S is incorrect. The following should fix it.
2003-12-03Lethal noticed that the generated file gmon-start.S was notEric Andersen
being cleaned up.
2003-11-22Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen
used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
2003-11-08Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen
broke a couple of days ago. :-(
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-10-25properly deal with soft-float when profiling as wellEric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
2003-09-21Fix "subst -g,," problem for SAFECFLAGS.Manuel Novoa III
2003-09-07Some updates from glibc. mjn3 reports this fixes profilingEric Andersen
on i386, at least, so seems like a good thing.
2003-08-14Use the common version for bits/sem.h. Fixup the types toEric Andersen
match the kernel type exactly.
2003-08-04For sparc, powerpc, mips, and alpha we should also use theEric Andersen
common ipc.h header and struct definitions. -Erik
2003-08-01Remove the arch specific shm.h and use the fixed up commonEric Andersen
one which now uses the kernel structs -Erik
2003-07-03As noted by Felix Radensky back on 16 Mar:Eric Andersen
I've tried several times to compile uClibc with soft-float (both gcc-3.2.2 toolchain and wrapper), but applications compiled with uClibc always failed with "Invalid instruction". So I ended up disabling floating point at all and this works well. I also has no problem with glibc from Monta Vista, which is compiled with soft-float. My processor is PowerPC 405GP. Maybe the problem is in FP() macro definition in libc/sysdeps/linux/powerpc/setjmp.S and libc/sysdeps/linux/powerpc/__longjmp.S #ifdef __UCLIBC_HAS_FLOATS__ #define FP(x...) x #else #define FP(x...) #endif which should be defined as if defined __UCLIBC_HAS_FLOATS__ && ! defined __UCLIBC_HAS_SOFT_FLOAT__ #define FP(x...) x #else #define FP(x...) #endif
2003-06-15Implement syscall() for powerpc. Fixup syscall code soEric Andersen
it compiles properly with gcc 3.3. -Erik
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-03-06Finish off gmon based profiling for powerpcEric Andersen
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